about summary refs log tree commit diff
path: root/src/test/ui/feature-gate/stability-attribute-consistency.stderr
blob: 1b2fdd6014e2be28fd8662bbf500d7d019d474df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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:18: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:22:1
   |
LL | #[unstable(feature = "foo", issue = "0")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0711`.