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)]
11 extern crate proc_macro as pm;
14 mod proc_macro_server;
16 pub use mbe::macro_rules::compile_declarative_macro;
17 crate use rustc_span::hygiene;
28 // HACK(Centril, #64197): These shouldn't really be here.
29 // Rather, they should be with their respective modules which are defined in other crates.
30 // However, since for now constructing a `ParseSess` sorta requires `config` from this crate,
31 // these tests will need to live here in the iterim.