We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0faef0a commit f6b41e3Copy full SHA for f6b41e3
compiler/rustc_lint_defs/src/builtin.rs
@@ -1154,7 +1154,6 @@ declare_lint! {
1154
/// ### Example
1155
///
1156
/// ```compile_fail
1157
- /// #![deny(unaligned_references)]
1158
/// #[repr(packed)]
1159
/// pub struct Foo {
1160
/// field1: u64,
@@ -2614,7 +2613,7 @@ declare_lint! {
2614
2613
2615
2616
2617
- /// ```rust
+ /// ```compile_fail
2618
/// # #![allow(unused)]
2619
/// enum E {
2620
/// A,
0 commit comments