mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
16 lines
294 B
Rust
16 lines
294 B
Rust
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() {}
|