]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/proc-macro-gates.stderr
Rollup merge of #87081 - a1phyr:add_wasi_ext_tracking_issue, r=dtolnay
[rust.git] / src / test / ui / proc-macro / proc-macro-gates.stderr
1 error[E0658]: inner macro attributes are unstable
2   --> $DIR/proc-macro-gates.rs:10:8
3    |
4 LL |     #![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
10 error[E0658]: inner macro attributes are unstable
11   --> $DIR/proc-macro-gates.rs:14:8
12    |
13 LL |     #![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
19 error: key-value macro attributes are not supported
20   --> $DIR/proc-macro-gates.rs:17:1
21    |
22 LL | #[empty_attr = "y"]
23    | ^^^^^^^^^^^^^^^^^^^
24
25 error[E0658]: custom attributes cannot be applied to statements
26   --> $DIR/proc-macro-gates.rs:26:5
27    |
28 LL |     #[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
34 error[E0658]: custom attributes cannot be applied to statements
35   --> $DIR/proc-macro-gates.rs:30:5
36    |
37 LL |     #[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
43 error[E0658]: custom attributes cannot be applied to statements
44   --> $DIR/proc-macro-gates.rs:34:5
45    |
46 LL |     #[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
52 error[E0658]: custom attributes cannot be applied to expressions
53   --> $DIR/proc-macro-gates.rs:38:14
54    |
55 LL |     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
61 error[E0658]: custom attributes cannot be applied to expressions
62   --> $DIR/proc-macro-gates.rs:41:15
63    |
64 LL |     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
70 error[E0658]: custom attributes cannot be applied to expressions
71   --> $DIR/proc-macro-gates.rs:44:14
72    |
73 LL |     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
79 error: inner macro attributes are unstable
80   --> $DIR/proc-macro-gates.rs:49:8
81    |
82 LL |     #![test]
83    |        ^^^^
84    |
85    = note: `#[deny(soft_unstable)]` on by default
86    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
87    = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
88
89 error: aborting due to 10 previous errors
90
91 For more information about this error, try `rustc --explain E0658`.