]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/stability-attribute-sanity-4.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / stability-attribute / stability-attribute-sanity-4.stderr
1 error: attribute must be of the form `#[unstable(feature = "name", reason = "...", issue = "N")]`
2   --> $DIR/stability-attribute-sanity-4.rs:8:5
3    |
4 LL |     #[unstable] //~ ERROR attribute must be of the form
5    |     ^^^^^^^^^^^
6
7 error: attribute must be of the form `#[unstable(feature = "name", reason = "...", issue = "N")]`
8   --> $DIR/stability-attribute-sanity-4.rs:11:5
9    |
10 LL |     #[unstable = "b"] //~ ERROR attribute must be of the form
11    |     ^^^^^^^^^^^^^^^^^
12
13 error: attribute must be of the form `#[stable(feature = "name", since = "version")]`
14   --> $DIR/stability-attribute-sanity-4.rs:14:5
15    |
16 LL |     #[stable] //~ ERROR attribute must be of the form
17    |     ^^^^^^^^^
18
19 error: attribute must be of the form `#[stable(feature = "name", since = "version")]`
20   --> $DIR/stability-attribute-sanity-4.rs:17:5
21    |
22 LL |     #[stable = "a"] //~ ERROR attribute must be of the form
23    |     ^^^^^^^^^^^^^^^
24
25 error: attribute must be of the form `#[rustc_deprecated(since = "version", reason = "...")]`
26   --> $DIR/stability-attribute-sanity-4.rs:21:5
27    |
28 LL |     #[rustc_deprecated] //~ ERROR attribute must be of the form
29    |     ^^^^^^^^^^^^^^^^^^^
30
31 error: attribute must be of the form `#[rustc_deprecated(since = "version", reason = "...")]`
32   --> $DIR/stability-attribute-sanity-4.rs:25:5
33    |
34 LL |     #[rustc_deprecated = "a"] //~ ERROR attribute must be of the form
35    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error: aborting due to 6 previous errors
38