Mark the lint doc as compile_fail

This commit is contained in:
Aman Arora 2021-01-02 21:28:28 -05:00
parent 3c71a7b60f
commit caf06bf5f5
1 changed files with 1 additions and 1 deletions

View File

@ -3002,7 +3002,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust
/// ```rust,compile_fail
/// # #![deny(disjoint_capture_drop_reorder)]
/// # #![allow(unused)]
/// struct FancyInteger(i32);