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