Skip to content

Commit 936b70e

Browse files
committed
Mark the lint doc as compile_fail
1 parent fea6c7f commit 936b70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2952,7 +2952,7 @@ declare_lint! {
29522952
///
29532953
/// ### Example
29542954
///
2955-
/// ```rust
2955+
/// ```rust,compile_fail
29562956
/// # #![deny(disjoint_capture_drop_reorder)]
29572957
/// # #![allow(unused)]
29582958
/// struct FancyInteger(i32);

0 commit comments

Comments
 (0)