diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index d1adb4a19de3..a17d32ef2413 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -2420,6 +2420,7 @@ declare_lint! { /// ### Example /// /// ```rust + /// #[cfg(target_arch="x86_64")] /// use std::arch::asm; /// /// fn main() { @@ -2455,6 +2456,7 @@ declare_lint! { /// ### Example /// /// ```rust + /// #[cfg(target_arch="x86_64")] /// use std::arch::asm; /// /// fn main() {