Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-allow-internal-unsafe-nested-macro.rs
blob: 9f604aafdf87dc86ad992bf1944cd73395292cf2 [
file
] [
log
] [
blame
] [
edit
]
// 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
()
{}