mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Fixup
This commit is contained in:
parent
489ae7a800
commit
c8f40b1503
@ -64,11 +64,13 @@ impl fmt::Display for ExpandError {
|
||||
}
|
||||
}
|
||||
|
||||
pub use crate::syntax_bridge::{
|
||||
ast_to_token_tree, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree,
|
||||
token_tree_to_syntax_node,
|
||||
pub use crate::{
|
||||
syntax_bridge::{
|
||||
ast_to_token_tree, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree,
|
||||
token_tree_to_syntax_node,
|
||||
},
|
||||
token_map::TokenMap,
|
||||
};
|
||||
pub use crate::token_map::TokenMap;
|
||||
|
||||
/// This struct contains AST for a single `macro_rules` definition. What might
|
||||
/// be very confusing is that AST has almost exactly the same shape as
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Mapping between `TokenId`s and the token's position in macro definitions or inputs.
|
||||
|
||||
use parser::{SyntaxKind, T};
|
||||
use syntax::{TextRange, TextSize};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user