summaryrefslogtreecommitdiffstats
path: root/tests/ui/stability-attribute/issue-106589.stderr
blob: ccf3f7164e3e1d6b64a4d50230f00223c6f9df76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0734]: stability attributes may not be used outside of the standard library
  --> $DIR/issue-106589.rs:6:1
   |
LL | #[unstable(feature = "foo", issue = "none")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0734]: stability attributes may not be used outside of the standard library
  --> $DIR/issue-106589.rs:3:1
   |
LL | #![stable(feature = "foo", since = "1.0.0")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

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