Mark the lint doc as compile_fail
This commit is contained in:
parent
3c71a7b60f
commit
caf06bf5f5
|
@ -3002,7 +3002,7 @@ declare_lint! {
|
|||
///
|
||||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,compile_fail
|
||||
/// # #![deny(disjoint_capture_drop_reorder)]
|
||||
/// # #![allow(unused)]
|
||||
/// struct FancyInteger(i32);
|
||||
|
|
Loading…
Reference in New Issue