rust/tests/ui/feature-gates/feature-gate-decl_macro.rs

6 lines
87 B
Rust

#![allow(unused_macros)]
macro m() {} //~ ERROR `macro` is experimental
fn main() {}