]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/inner-attr-non-inline-mod.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / proc-macro / inner-attr-non-inline-mod.stderr
CommitLineData
6a06907d
XL
1error[E0658]: inner macro attributes are unstable
2 --> $DIR/module_with_attrs.rs:4:4
3 |
4LL | #![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
10error[E0658]: non-inline modules in proc macro input are unstable
11 --> $DIR/inner-attr-non-inline-mod.rs:14:1
12 |
13LL | 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
19error[E0658]: custom inner attributes are unstable
20 --> $DIR/inner-attr-non-inline-mod.rs:14:1
21 |
22LL | 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
28error: custom inner attributes are unstable
29 --> $DIR/module_with_attrs.rs:3:4
30 |
31LL | #![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
38error: aborting due to 4 previous errors
39
40For more information about this error, try `rustc --explain E0658`.