]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/issue-106589.stderr
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum
[rust.git] / tests / ui / stability-attribute / issue-106589.stderr
1 error[E0734]: stability attributes may not be used outside of the standard library
2   --> $DIR/issue-106589.rs:6:1
3    |
4 LL | #[unstable(feature = "foo", issue = "none")]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0734]: stability attributes may not be used outside of the standard library
8   --> $DIR/issue-106589.rs:3:1
9    |
10 LL | #![stable(feature = "foo", since = "1.0.0")]
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0734`.