fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
548 B14 linesraw
1error[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   |
4LL | #[stable(feature = "foo", since = "1.29.0")]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error[E0711]: feature `foo` is declared unstable, but was previously declared stable
8  --> $DIR/stability-attribute-consistency.rs:12:1
9   |
10LL | #[unstable(feature = "foo", issue = "none")]
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14