Skip to content

Commit

Permalink
Mark the lint doc as compile_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arora-aman committed Jan 17, 2021
1 parent fea6c7f commit 936b70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2952,7 +2952,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust
/// ```rust,compile_fail
/// # #![deny(disjoint_capture_drop_reorder)]
/// # #![allow(unused)]
/// struct FancyInteger(i32);
Expand Down

0 comments on commit 936b70e

Please sign in to comment.