1 #![feature(bool_to_option)]
2 #![feature(crate_visibility_modifier)]
3 #![feature(decl_macro)]
4 #![feature(destructuring_assignment)]
6 #![cfg_attr(bootstrap, feature(or_patterns))]
7 #![feature(proc_macro_diagnostic)]
8 #![feature(proc_macro_internals)]
9 #![feature(proc_macro_span)]
10 #![feature(try_blocks)]
13 extern crate rustc_macros;
15 extern crate proc_macro as pm;
18 mod proc_macro_server;
20 pub use mbe::macro_rules::compile_declarative_macro;
21 crate use rustc_span::hygiene;
32 // HACK(Centril, #64197): These shouldn't really be here.
33 // Rather, they should be with their respective modules which are defined in other crates.
34 // However, since for now constructing a `ParseSess` sorta requires `config` from this crate,
35 // these tests will need to live here in the iterim.