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