]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gate/stability-attribute-consistency.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / feature-gate / stability-attribute-consistency.stderr
1 error[E0711]: feature `foo` is declared stable since 1.29.0, but was previously declared stable since 1.0.0
2   --> $DIR/stability-attribute-consistency.rs:18:1
3    |
4 LL | #[stable(feature = "foo", since = "1.29.0")]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0711]: feature `foo` is declared unstable, but was previously declared stable
8   --> $DIR/stability-attribute-consistency.rs:22:1
9    |
10 LL | #[unstable(feature = "foo", issue = "0")]
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0711`.