blob: 7d1ee6a43b6ad60949de1cc6c5c60d19ed057419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// aux-build:unstable-macros.rs
#![feature(staged_api)]
#[macro_use] extern crate unstable_macros;
#[unstable(feature = "local_unstable", issue = "0")]
macro_rules! local_unstable { () => () }
fn main() {
local_unstable!();
unstable_macro!(); //~ ERROR: macro unstable_macro! is unstable
}
|