]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/stability-attribute-sanity-4.stderr
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / 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[E0542]: missing 'since'
26   --> $DIR/stability-attribute-sanity-4.rs:21:5
27    |
28 LL |     #[deprecated]
29    |     ^^^^^^^^^^^^^
30
31 error[E0542]: missing 'since'
32   --> $DIR/stability-attribute-sanity-4.rs:25:5
33    |
34 LL |     #[deprecated = "a"]
35    |     ^^^^^^^^^^^^^^^^^^^
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0542`.