1 #![feature(associated_type_bounds)]
2 #![feature(associated_type_defaults)]
3 #![feature(crate_visibility_modifier)]
4 #![feature(decl_macro)]
5 #![feature(if_let_guard)]
7 #![feature(proc_macro_diagnostic)]
8 #![feature(proc_macro_internals)]
9 #![feature(proc_macro_span)]
10 #![feature(try_blocks)]
11 #![recursion_limit = "256"]
14 extern crate rustc_macros;
16 extern crate proc_macro as pm;
19 mod proc_macro_server;
21 pub use mbe::macro_rules::compile_declarative_macro;
22 crate use rustc_span::hygiene;
33 // HACK(Centril, #64197): These shouldn't really be here.
34 // Rather, they should be with their respective modules which are defined in other crates.
35 // However, since for now constructing a `ParseSess` sorta requires `config` from this crate,
36 // these tests will need to live here in the iterim.