fix lint doctests
This commit is contained in:
parent
0faef0a96e
commit
f6b41e346b
@ -1154,7 +1154,6 @@ declare_lint! {
|
|||||||
/// ### Example
|
/// ### Example
|
||||||
///
|
///
|
||||||
/// ```compile_fail
|
/// ```compile_fail
|
||||||
/// #![deny(unaligned_references)]
|
|
||||||
/// #[repr(packed)]
|
/// #[repr(packed)]
|
||||||
/// pub struct Foo {
|
/// pub struct Foo {
|
||||||
/// field1: u64,
|
/// field1: u64,
|
||||||
@ -2614,7 +2613,7 @@ declare_lint! {
|
|||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```compile_fail
|
||||||
/// # #![allow(unused)]
|
/// # #![allow(unused)]
|
||||||
/// enum E {
|
/// enum E {
|
||||||
/// A,
|
/// A,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user