2018-02-24 19:11:06 -08:00
|
|
|
// 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() {
|
2019-06-22 00:18:09 +03:00
|
|
|
local_unstable!(); //~ ERROR use of unstable library feature 'local_unstable'
|
|
|
|
unstable_macro!(); //~ ERROR use of unstable library feature 'unstable_macros'
|
2018-02-24 19:11:06 -08:00
|
|
|
}
|