summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/gate-do-not-const-check.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/gate-do-not-const-check.stderr')
-rw-r--r--tests/ui/consts/gate-do-not-const-check.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/consts/gate-do-not-const-check.stderr b/tests/ui/consts/gate-do-not-const-check.stderr
new file mode 100644
index 000000000..3bb136016
--- /dev/null
+++ b/tests/ui/consts/gate-do-not-const-check.stderr
@@ -0,0 +1,11 @@
+error[E0658]: this is an internal attribute that will never be stable
+ --> $DIR/gate-do-not-const-check.rs:1:1
+ |
+LL | #[rustc_do_not_const_check]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0658`.