fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
542 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 = "0")]
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14