diff options
Diffstat (limited to 'tests/ui/stability-attribute/stability-attribute-trait-impl.stderr')
| -rw-r--r-- | tests/ui/stability-attribute/stability-attribute-trait-impl.stderr | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/ui/stability-attribute/stability-attribute-trait-impl.stderr b/tests/ui/stability-attribute/stability-attribute-trait-impl.stderr new file mode 100644 index 00000000000..b91a1d2e11a --- /dev/null +++ b/tests/ui/stability-attribute/stability-attribute-trait-impl.stderr @@ -0,0 +1,31 @@ +error: an `#[unstable]` annotation here has no effect + --> $DIR/stability-attribute-trait-impl.rs:32:1 + | +LL | #[unstable(feature = "j", issue = "none")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: see issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information + = note: `#[deny(ineffective_unstable_trait_impl)]` on by default + +error: an `#[unstable]` annotation here has no effect + --> $DIR/stability-attribute-trait-impl.rs:36:1 + | +LL | #[unstable(feature = "k", issue = "none")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: see issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information + +error: module has missing stability attribute + --> $DIR/stability-attribute-trait-impl.rs:1:1 + | +LL | / #![feature(staged_api, never_type, c_unwind)] +LL | | +LL | | +LL | | #[stable(feature = "a", since = "1")] +... | +LL | | +LL | | fn main() {} + | |____________^ + +error: aborting due to 3 previous errors + |
