diff options
| author | Aman Arora <me@aman-arora.com> | 2021-01-02 21:28:28 -0500 |
|---|---|---|
| committer | Aman Arora <me@aman-arora.com> | 2021-02-01 22:13:42 -0500 |
| commit | caf06bf5f5f3470f79362210a58c927711effd4d (patch) | |
| tree | c26af6a62bede79311406793521bee43cf4c00cf | |
| parent | 3c71a7b60f8c661899a4e0cbe498ac67f3f02632 (diff) | |
| download | rust-caf06bf5f5f3470f79362210a58c927711effd4d.tar.gz rust-caf06bf5f5f3470f79362210a58c927711effd4d.zip | |
Mark the lint doc as compile_fail
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index f1e5a4d47c7..199be009907 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -3002,7 +3002,7 @@ declare_lint! { /// /// ### Example /// - /// ```rust + /// ```rust,compile_fail /// # #![deny(disjoint_capture_drop_reorder)] /// # #![allow(unused)] /// struct FancyInteger(i32); |
