fork/rust

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

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

master
3.4 KiB91 linesraw
1error[E0658]: inner macro attributes are unstable
2  --> $DIR/proc-macro-gates.rs:10:8
3   |
4LL |     #![empty_attr]
5   |        ^^^^^^^^^^
6   |
7   = note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
8   = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable
9
10error[E0658]: inner macro attributes are unstable
11  --> $DIR/proc-macro-gates.rs:14:8
12   |
13LL |     #![empty_attr]
14   |        ^^^^^^^^^^
15   |
16   = note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
17   = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable
18
19error: key-value macro attributes are not supported
20  --> $DIR/proc-macro-gates.rs:17:1
21   |
22LL | #[empty_attr = "y"]
23   | ^^^^^^^^^^^^^^^^^^^
24
25error[E0658]: custom attributes cannot be applied to statements
26  --> $DIR/proc-macro-gates.rs:26:5
27   |
28LL |     #[empty_attr]
29   |     ^^^^^^^^^^^^^
30   |
31   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
32   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
33
34error[E0658]: custom attributes cannot be applied to statements
35  --> $DIR/proc-macro-gates.rs:30:5
36   |
37LL |     #[empty_attr]
38   |     ^^^^^^^^^^^^^
39   |
40   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
41   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
42
43error[E0658]: custom attributes cannot be applied to statements
44  --> $DIR/proc-macro-gates.rs:34:5
45   |
46LL |     #[empty_attr]
47   |     ^^^^^^^^^^^^^
48   |
49   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
50   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
51
52error[E0658]: custom attributes cannot be applied to expressions
53  --> $DIR/proc-macro-gates.rs:38:14
54   |
55LL |     let _x = #[identity_attr] 2;
56   |              ^^^^^^^^^^^^^^^^
57   |
58   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
59   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
60
61error[E0658]: custom attributes cannot be applied to expressions
62  --> $DIR/proc-macro-gates.rs:41:15
63   |
64LL |     let _x = [#[identity_attr] 2];
65   |               ^^^^^^^^^^^^^^^^
66   |
67   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
68   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
69
70error[E0658]: custom attributes cannot be applied to expressions
71  --> $DIR/proc-macro-gates.rs:44:14
72   |
73LL |     let _x = #[identity_attr] println!();
74   |              ^^^^^^^^^^^^^^^^
75   |
76   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
77   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
78
79error: inner macro attributes are unstable
80  --> $DIR/proc-macro-gates.rs:49:8
81   |
82LL |     #![test]
83   |        ^^^^
84   |
85   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
86   = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
87   = note: `#[deny(soft_unstable)]` on by default
88
89error: aborting due to 10 previous errors
90
91For more information about this error, try `rustc --explain E0658`.