blob: 1e99a25cec3a5a8d7222e5e072a0ea87eace43c1 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | macro_rules! bar (
    () => ()
);
macro_rules! foo (
    () => (
        #[allow_internal_unstable()]
        //~^ ERROR allow_internal_unstable side-steps
        //~| ERROR `#[allow_internal_unstable]` attribute cannot be used on macro calls
        bar!();
    );
);
foo!();
fn main() {}
 |