summary refs log tree commit diff
path: root/src/test/ui/feature-gate/stability-attribute-consistency.stderr
blob: 9b4b28a3922cb4802b9f778c25fadf6cad7016b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0711]: feature `foo` is declared stable since 1.29.0, but was previously declared stable since 1.0.0
  --> $DIR/stability-attribute-consistency.rs:8:1
   |
LL | #[stable(feature = "foo", since = "1.29.0")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0711]: feature `foo` is declared unstable, but was previously declared stable
  --> $DIR/stability-attribute-consistency.rs:12:1
   |
LL | #[unstable(feature = "foo", issue = "0")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors