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