diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-09-22 17:42:17 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-09-22 20:29:31 +0300 |
| commit | 645cdca9ba2fd3e47dedeecbb580d490fa9ef85b (patch) | |
| tree | a420dade7ad542d29242ca441886e0313def1532 /src/libsyntax/lib.rs | |
| parent | 4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb (diff) | |
| download | rust-645cdca9ba2fd3e47dedeecbb580d490fa9ef85b.tar.gz rust-645cdca9ba2fd3e47dedeecbb580d490fa9ef85b.zip | |
reduce visibility of a bunch of stuff in ext::tt
Diffstat (limited to 'src/libsyntax/lib.rs')
| -rw-r--r-- | src/libsyntax/lib.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index aaf6f3e537e..c06f4302102 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -162,18 +162,19 @@ pub mod ext { mod proc_macro_server; pub use syntax_pos::hygiene; + pub use tt::macro_rules::compile_declarative_macro; pub mod allocator; pub mod base; pub mod build; pub mod expand; pub mod proc_macro; - pub mod tt { - pub mod transcribe; - pub mod macro_check; - pub mod macro_parser; - pub mod macro_rules; - pub mod quoted; + crate mod tt { + crate mod transcribe; + crate mod macro_check; + crate mod macro_parser; + crate mod macro_rules; + crate mod quoted; } } |
