aboutsummaryrefslogtreecommitdiff
path: root/crates/mbe/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mbe/src/lib.rs')
-rw-r--r--crates/mbe/src/lib.rs4
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)]
16mod benchmark; 16mod benchmark;
17mod token_map;
17 18
18use std::fmt; 19use std::fmt;
19 20
@@ -65,8 +66,9 @@ impl fmt::Display for ExpandError {
65 66
66pub use crate::syntax_bridge::{ 67pub 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};
71pub 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