diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/error-codes/E0711.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0711.stderr b/tests/ui/error-codes/E0711.stderr new file mode 100644 index 000000000..f39cb4ecd --- /dev/null +++ b/tests/ui/error-codes/E0711.stderr @@ -0,0 +1,15 @@ +error[E0711]: feature `foo` is declared stable since 1.29.0, but was previously declared stable since 1.0.0 + --> $DIR/E0711.rs:10:1 + | +LL | #[stable(feature = "foo", since = "1.29.0")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0711]: feature `foo` is declared unstable, but was previously declared stable + --> $DIR/E0711.rs:14:1 + | +LL | #[unstable(feature = "foo", issue = "none")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0711`. |