about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-21 17:29:59 +0530
committerGitHub <noreply@github.com>2022-10-21 17:29:59 +0530
commit3055eb9b2600cbe04bacf6e5254a492451de8a05 (patch)
treec879c7cba0d9b62c37212f1447506e0b8ca5eea7 /compiler/rustc_lint/src
parent41a1cfdbaf0ec1024cee7a90309fcf3eecee83d1 (diff)
parentf8e157b33f37d3277104002aaf8a4f5de1ce7ed1 (diff)
downloadrust-3055eb9b2600cbe04bacf6e5254a492451de8a05.tar.gz
rust-3055eb9b2600cbe04bacf6e5254a492451de8a05.zip
Rollup merge of #103260 - cuviper:needs-asm-support, r=fee1-dead
Fixup a few tests needing asm support
Diffstat (limited to 'compiler/rustc_lint/src')
-rw-r--r--compiler/rustc_lint/src/builtin.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs
index 886e25f2d78..715ba4ca156 100644
--- a/compiler/rustc_lint/src/builtin.rs
+++ b/compiler/rustc_lint/src/builtin.rs
@@ -3176,6 +3176,7 @@ declare_lint! {
     /// ### Example
     ///
     /// ```rust,compile_fail
+    /// # #![feature(asm_experimental_arch)]
     /// use std::arch::asm;
     ///
     /// fn main() {