]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error[E0658]: `pub` on `macro_rules` items is unstable |
2 | --> $DIR/feature-gate-pub_macro_rules.rs:1:1 | |
3 | | | |
4 | LL | 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 | ||
10 | error[E0658]: `pub` on `macro_rules` items is unstable | |
11 | --> $DIR/feature-gate-pub_macro_rules.rs:4:1 | |
12 | | | |
13 | LL | 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 | ||
19 | error[E0658]: `pub` on `macro_rules` items is unstable | |
20 | --> $DIR/feature-gate-pub_macro_rules.rs:6:1 | |
21 | | | |
22 | LL | 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 | ||
28 | error[E0658]: `pub` on `macro_rules` items is unstable | |
29 | --> $DIR/feature-gate-pub_macro_rules.rs:8:1 | |
30 | | | |
31 | LL | 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 | ||
37 | error: aborting due to 4 previous errors | |
38 | ||
39 | For more information about this error, try `rustc --explain E0658`. |