1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// 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() {}