2020-09-11 21:42:28 +02:00
|
|
|
error: an `#[unstable]` annotation here has no effect
|
2021-07-20 23:23:22 -04:00
|
|
|
--> $DIR/stability-attribute-trait-impl.rs:25:1
|
2020-09-10 20:55:04 +02:00
|
|
|
|
|
2021-07-20 23:23:22 -04:00
|
|
|
LL | #[unstable(feature = "h", issue = "none")]
|
2020-09-10 20:55:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-09-11 21:42:28 +02:00
|
|
|
= note: see issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information
|
2022-09-18 19:55:36 +04:00
|
|
|
= note: `#[deny(ineffective_unstable_trait_impl)]` on by default
|
2020-09-10 20:55:04 +02:00
|
|
|
|
2021-07-20 23:23:22 -04:00
|
|
|
error: module has missing stability attribute
|
|
|
|
--> $DIR/stability-attribute-trait-impl.rs:1:1
|
|
|
|
|
|
|
|
|
LL | / #![feature(staged_api)]
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | #[stable(feature = "a", since = "1")]
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | fn main() {}
|
|
|
|
| |____________^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2020-09-10 20:55:04 +02:00
|
|
|
|