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