diff options
Diffstat (limited to 'crates/mbe/src/lib.rs')
-rw-r--r-- | crates/mbe/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/mbe/src/lib.rs b/crates/mbe/src/lib.rs index 3af5bc18b..b7aa64713 100644 --- a/crates/mbe/src/lib.rs +++ b/crates/mbe/src/lib.rs | |||
@@ -14,6 +14,7 @@ mod tests; | |||
14 | 14 | ||
15 | #[cfg(test)] | 15 | #[cfg(test)] |
16 | mod benchmark; | 16 | mod benchmark; |
17 | mod token_map; | ||
17 | 18 | ||
18 | use std::fmt; | 19 | use std::fmt; |
19 | 20 | ||
@@ -65,8 +66,9 @@ impl fmt::Display for ExpandError { | |||
65 | 66 | ||
66 | pub use crate::syntax_bridge::{ | 67 | pub use crate::syntax_bridge::{ |
67 | ast_to_token_tree, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree, | 68 | ast_to_token_tree, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree, |
68 | token_tree_to_syntax_node, TokenMap, | 69 | token_tree_to_syntax_node, |
69 | }; | 70 | }; |
71 | pub use crate::token_map::TokenMap; | ||
70 | 72 | ||
71 | /// This struct contains AST for a single `macro_rules` definition. What might | 73 | /// This struct contains AST for a single `macro_rules` definition. What might |
72 | /// be very confusing is that AST has almost exactly the same shape as | 74 | /// be very confusing is that AST has almost exactly the same shape as |