]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/stability-attribute-consistency.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / 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:8: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:12:1
9    |
10 LL | #[unstable(feature = "foo", issue = "none")]
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14