summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/stable-features.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/feature-gates/stable-features.stderr20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/stable-features.stderr b/src/test/ui/feature-gates/stable-features.stderr
new file mode 100644
index 000000000..831b40b86
--- /dev/null
+++ b/src/test/ui/feature-gates/stable-features.stderr
@@ -0,0 +1,20 @@
+error: the feature `test_accepted_feature` has been stable since 1.0.0 and no longer requires an attribute to enable
+ --> $DIR/stable-features.rs:6:12
+ |
+LL | #![feature(test_accepted_feature)]
+ | ^^^^^^^^^^^^^^^^^^^^^
+ |
+note: the lint level is defined here
+ --> $DIR/stable-features.rs:4:9
+ |
+LL | #![deny(stable_features)]
+ | ^^^^^^^^^^^^^^^
+
+error: the feature `rust1` has been stable since 1.0.0 and no longer requires an attribute to enable
+ --> $DIR/stable-features.rs:9:12
+ |
+LL | #![feature(rust1)]
+ | ^^^^^
+
+error: aborting due to 2 previous errors
+