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