fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.3 KiB39 linesraw
1error: malformed `unstable` attribute input
2  --> $DIR/stability-attribute-sanity-4.rs:8:5
3   |
4LL |     #[unstable]
5   |     ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
6
7error: malformed `unstable` attribute input
8  --> $DIR/stability-attribute-sanity-4.rs:11:5
9   |
10LL |     #[unstable = "b"]
11   |     ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
12
13error: malformed `stable` attribute input
14  --> $DIR/stability-attribute-sanity-4.rs:14:5
15   |
16LL |     #[stable]
17   |     ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
18
19error: malformed `stable` attribute input
20  --> $DIR/stability-attribute-sanity-4.rs:17:5
21   |
22LL |     #[stable = "a"]
23   |     ^^^^^^^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
24
25error[E0542]: missing 'since'
26  --> $DIR/stability-attribute-sanity-4.rs:21:5
27   |
28LL |     #[deprecated]
29   |     ^^^^^^^^^^^^^
30
31error[E0542]: missing 'since'
32  --> $DIR/stability-attribute-sanity-4.rs:25:5
33   |
34LL |     #[deprecated = "a"]
35   |     ^^^^^^^^^^^^^^^^^^^
36
37error: aborting due to 6 previous errors
38
39For more information about this error, try `rustc --explain E0542`.