Skip to content

Commit f6b41e3

Browse files
committed
fix lint doctests
1 parent 0faef0a commit f6b41e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,6 @@ declare_lint! {
11541154
/// ### Example
11551155
///
11561156
/// ```compile_fail
1157-
/// #![deny(unaligned_references)]
11581157
/// #[repr(packed)]
11591158
/// pub struct Foo {
11601159
/// field1: u64,
@@ -2614,7 +2613,7 @@ declare_lint! {
26142613
///
26152614
/// ### Example
26162615
///
2617-
/// ```rust
2616+
/// ```compile_fail
26182617
/// # #![allow(unused)]
26192618
/// enum E {
26202619
/// A,

0 commit comments

Comments
 (0)