Skip to content

Commit 189a8a6

Browse files
committed
De-pub some rustc_expand modules.
1 parent 3f05589 commit 189a8a6

File tree

1 file changed

+5
-7
lines changed
  • compiler/rustc_expand/src

1 file changed

+5
-7
lines changed

compiler/rustc_expand/src/lib.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,23 @@
1717

1818
extern crate proc_macro as pm;
1919

20+
mod build;
21+
mod errors;
22+
// FIXME(Nilstrieb) Translate macro_rules diagnostics
23+
#[allow(rustc::untranslatable_diagnostic)]
24+
mod mbe;
2025
mod placeholders;
2126
mod proc_macro_server;
2227

2328
pub use mbe::macro_rules::compile_declarative_macro;
2429
pub mod base;
25-
pub mod build;
2630
pub mod config;
27-
pub mod errors;
2831
pub mod expand;
2932
pub mod module;
30-
3133
// FIXME(Nilstrieb) Translate proc_macro diagnostics
3234
#[allow(rustc::untranslatable_diagnostic)]
3335
pub mod proc_macro;
3436

35-
// FIXME(Nilstrieb) Translate macro_rules diagnostics
36-
#[allow(rustc::untranslatable_diagnostic)]
37-
pub(crate) mod mbe;
38-
3937
// HACK(Centril, #64197): These shouldn't really be here.
4038
// Rather, they should be with their respective modules which are defined in other crates.
4139
// However, since for now constructing a `ParseSess` sorta requires `config` from this crate,

0 commit comments

Comments
 (0)