De-pub
some rustc_expand
modules.
This commit is contained in:
parent
3f055893b4
commit
189a8a6925
@ -17,25 +17,23 @@
|
|||||||
|
|
||||||
extern crate proc_macro as pm;
|
extern crate proc_macro as pm;
|
||||||
|
|
||||||
|
mod build;
|
||||||
|
mod errors;
|
||||||
|
// FIXME(Nilstrieb) Translate macro_rules diagnostics
|
||||||
|
#[allow(rustc::untranslatable_diagnostic)]
|
||||||
|
mod mbe;
|
||||||
mod placeholders;
|
mod placeholders;
|
||||||
mod proc_macro_server;
|
mod proc_macro_server;
|
||||||
|
|
||||||
pub use mbe::macro_rules::compile_declarative_macro;
|
pub use mbe::macro_rules::compile_declarative_macro;
|
||||||
pub mod base;
|
pub mod base;
|
||||||
pub mod build;
|
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod errors;
|
|
||||||
pub mod expand;
|
pub mod expand;
|
||||||
pub mod module;
|
pub mod module;
|
||||||
|
|
||||||
// FIXME(Nilstrieb) Translate proc_macro diagnostics
|
// FIXME(Nilstrieb) Translate proc_macro diagnostics
|
||||||
#[allow(rustc::untranslatable_diagnostic)]
|
#[allow(rustc::untranslatable_diagnostic)]
|
||||||
pub mod proc_macro;
|
pub mod proc_macro;
|
||||||
|
|
||||||
// FIXME(Nilstrieb) Translate macro_rules diagnostics
|
|
||||||
#[allow(rustc::untranslatable_diagnostic)]
|
|
||||||
pub(crate) mod mbe;
|
|
||||||
|
|
||||||
// HACK(Centril, #64197): These shouldn't really be here.
|
// HACK(Centril, #64197): These shouldn't really be here.
|
||||||
// Rather, they should be with their respective modules which are defined in other crates.
|
// Rather, they should be with their respective modules which are defined in other crates.
|
||||||
// However, since for now constructing a `ParseSess` sorta requires `config` from this crate,
|
// However, since for now constructing a `ParseSess` sorta requires `config` from this crate,
|
||||||
|
Loading…
Reference in New Issue
Block a user