diff options
| author | Ralf Jung <post@ralfj.de> | 2022-06-02 09:41:13 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-06-02 09:41:13 -0400 |
| commit | f6b41e346b9cd20d26b5196ba622137e43fc8a5c (patch) | |
| tree | 7b76ec87fc49b2b1b9109fcf239128a4ec56a647 | |
| parent | 0faef0a96ee50541ccbc2047ee2e1a6a372e8763 (diff) | |
| download | rust-f6b41e346b9cd20d26b5196ba622137e43fc8a5c.tar.gz rust-f6b41e346b9cd20d26b5196ba622137e43fc8a5c.zip | |
fix lint doctests
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index d5f14134ea2..b1bfd612b90 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -1154,7 +1154,6 @@ declare_lint! { /// ### Example /// /// ```compile_fail - /// #![deny(unaligned_references)] /// #[repr(packed)] /// pub struct Foo { /// field1: u64, @@ -2614,7 +2613,7 @@ declare_lint! { /// /// ### Example /// - /// ```rust + /// ```compile_fail /// # #![allow(unused)] /// enum E { /// A, |
