summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-compiler-builtins.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-compiler-builtins.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-compiler-builtins.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-compiler-builtins.stderr b/tests/ui/feature-gates/feature-gate-compiler-builtins.stderr
new file mode 100644
index 000000000..9d04aef86
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-compiler-builtins.stderr
@@ -0,0 +1,11 @@
+error[E0658]: the `#[compiler_builtins]` attribute is used to identify the `compiler_builtins` crate which contains compiler-rt intrinsics and will never be stable
+ --> $DIR/feature-gate-compiler-builtins.rs:1:1
+ |
+LL | #![compiler_builtins]
+ | ^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: add `#![feature(compiler_builtins)]` to the crate attributes to enable
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0658`.