]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error[E0658]: inner macro attributes are unstable |
2 | --> $DIR/module_with_attrs.rs:4:4 | |
3 | | | |
4 | LL | #![print_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]: non-inline modules in proc macro input are unstable | |
11 | --> $DIR/inner-attr-non-inline-mod.rs:14:1 | |
12 | | | |
13 | LL | mod module_with_attrs; | |
14 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
15 | | | |
16 | = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information | |
17 | = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable | |
18 | ||
19 | error[E0658]: custom inner attributes are unstable | |
20 | --> $DIR/inner-attr-non-inline-mod.rs:14:1 | |
21 | | | |
22 | LL | mod module_with_attrs; | |
23 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
24 | | | |
25 | = note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information | |
26 | = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable | |
27 | ||
28 | error: custom inner attributes are unstable | |
29 | --> $DIR/module_with_attrs.rs:3:4 | |
30 | | | |
31 | LL | #![rustfmt::skip] | |
32 | | ^^^^^^^^^^^^^ | |
33 | | | |
6a06907d XL |
34 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
35 | = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> | |
2b03887a | 36 | = note: `#[deny(soft_unstable)]` on by default |
6a06907d XL |
37 | |
38 | error: aborting due to 4 previous errors | |
39 | ||
40 | For more information about this error, try `rustc --explain E0658`. |