summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/duplicate-features.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/duplicate-features.stderr')
-rw-r--r--src/test/ui/feature-gates/duplicate-features.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/duplicate-features.stderr b/src/test/ui/feature-gates/duplicate-features.stderr
new file mode 100644
index 000000000..dbde806f6
--- /dev/null
+++ b/src/test/ui/feature-gates/duplicate-features.stderr
@@ -0,0 +1,15 @@
+error[E0636]: the feature `if_let` has already been declared
+ --> $DIR/duplicate-features.rs:7:12
+ |
+LL | #![feature(if_let)]
+ | ^^^^^^
+
+error[E0636]: the feature `rust1` has already been declared
+ --> $DIR/duplicate-features.rs:4:12
+ |
+LL | #![feature(rust1)]
+ | ^^^^^
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0636`.