mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
18 lines
301 B
Rust
18 lines
301 B
Rust
// gate-test-allow_internal_unstable
|
|
|
|
#![allow(unused_macros)]
|
|
|
|
macro_rules! bar {
|
|
() => {
|
|
// more layers don't help:
|
|
#[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
|
|
macro_rules! baz {
|
|
() => {}
|
|
}
|
|
}
|
|
}
|
|
|
|
bar!();
|
|
|
|
fn main() {}
|