summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-allow-internal-unstable.rs
blob: 0a1b6acd9bff25e254897439a5ded1180f101ed6 (plain)
1
2
3
4
5
6
7
8
#![allow(unused_macros)]

#[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
macro_rules! foo {
    () => {}
}

fn main() {}