diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-staged_api.stderr')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-staged_api.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-staged_api.stderr b/src/test/ui/feature-gates/feature-gate-staged_api.stderr new file mode 100644 index 000000000..951bb5a17 --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-staged_api.stderr @@ -0,0 +1,15 @@ +error[E0734]: stability attributes may not be used outside of the standard library + --> $DIR/feature-gate-staged_api.rs:8:1 + | +LL | #[stable(feature = "a", since = "b")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0734]: stability attributes may not be used outside of the standard library + --> $DIR/feature-gate-staged_api.rs:1:1 + | +LL | #![stable(feature = "a", since = "b")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0734`. |