Skip to content

Commit 9ac023d

Browse files
committed
Mark the lint doc as compile_fail
1 parent d30a5bf commit 9ac023d

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
@@ -3002,7 +3002,7 @@ declare_lint! {
30023002
///
30033003
/// ### Example
30043004
///
3005-
/// ```rust
3005+
/// ```rust,compile_fail
30063006
/// # #![deny(disjoint_capture_drop_reorder)]
30073007
/// # #![allow(unused)]
30083008
/// struct FancyInteger(i32);

0 commit comments

Comments
 (0)