]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-pub_macro_rules.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-pub_macro_rules.stderr
CommitLineData
6a06907d
XL
1error[E0658]: `pub` on `macro_rules` items is unstable
2 --> $DIR/feature-gate-pub_macro_rules.rs:1:1
3 |
4LL | pub macro_rules! m1 { () => {} }
5 | ^^^
6 |
7 = note: see issue #78855 <https://github.com/rust-lang/rust/issues/78855> for more information
8 = help: add `#![feature(pub_macro_rules)]` to the crate attributes to enable
9
10error[E0658]: `pub` on `macro_rules` items is unstable
11 --> $DIR/feature-gate-pub_macro_rules.rs:4:1
12 |
13LL | pub macro_rules! m2 { () => {} }
14 | ^^^
15 |
16 = note: see issue #78855 <https://github.com/rust-lang/rust/issues/78855> for more information
17 = help: add `#![feature(pub_macro_rules)]` to the crate attributes to enable
18
19error[E0658]: `pub` on `macro_rules` items is unstable
20 --> $DIR/feature-gate-pub_macro_rules.rs:6:1
21 |
22LL | pub(crate) macro_rules! m3 { () => {} }
23 | ^^^^^^^^^^
24 |
25 = note: see issue #78855 <https://github.com/rust-lang/rust/issues/78855> for more information
26 = help: add `#![feature(pub_macro_rules)]` to the crate attributes to enable
27
28error[E0658]: `pub` on `macro_rules` items is unstable
29 --> $DIR/feature-gate-pub_macro_rules.rs:8:1
30 |
31LL | pub(in self) macro_rules! m4 { () => {} }
32 | ^^^^^^^^^^^^
33 |
34 = note: see issue #78855 <https://github.com/rust-lang/rust/issues/78855> for more information
35 = help: add `#![feature(pub_macro_rules)]` to the crate attributes to enable
36
37error: aborting due to 4 previous errors
38
39For more information about this error, try `rustc --explain E0658`.