fix lint doctests

This commit is contained in:
Ralf Jung 2022-06-02 09:41:13 -04:00
parent 0faef0a96e
commit f6b41e346b

View File

@ -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,