mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
fix lint doctests
This commit is contained in:
parent
0faef0a96e
commit
f6b41e346b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user