summaryrefslogtreecommitdiffstats
path: root/src/test/ui/editions/edition-feature-redundant.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/editions/edition-feature-redundant.stderr')
-rw-r--r--src/test/ui/editions/edition-feature-redundant.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/editions/edition-feature-redundant.stderr b/src/test/ui/editions/edition-feature-redundant.stderr
new file mode 100644
index 000000000..b11e616d7
--- /dev/null
+++ b/src/test/ui/editions/edition-feature-redundant.stderr
@@ -0,0 +1,9 @@
+warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition
+ --> $DIR/edition-feature-redundant.rs:4:12
+ |
+LL | #![feature(rust_2018_preview)]
+ | ^^^^^^^^^^^^^^^^^
+
+warning: 1 warning emitted
+
+For more information about this error, try `rustc --explain E0705`.