Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/mbe/src/lib.rs')
| -rw-r--r-- | crates/mbe/src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/mbe/src/lib.rs b/crates/mbe/src/lib.rs index f490d75c3f..13fec269fa 100644 --- a/crates/mbe/src/lib.rs +++ b/crates/mbe/src/lib.rs @@ -18,13 +18,15 @@ mod token_map; use std::fmt; -pub use tt::{Delimiter, DelimiterKind, Punct}; - use crate::{ parser::{parse_pattern, parse_template, MetaTemplate, Op}, tt_iter::TtIter, }; +// FIXME: we probably should re-think `token_tree_to_syntax_node` interfaces +pub use ::parser::FragmentKind; +pub use tt::{Delimiter, DelimiterKind, Punct}; + #[derive(Debug, PartialEq, Eq)] pub enum ParseError { UnexpectedToken(String), @@ -39,7 +41,7 @@ pub enum ExpandError { UnexpectedToken, BindingError(String), ConversionError, - // FXME: no way mbe should know about proc macros. + // FIXME: no way mbe should know about proc macros. UnresolvedProcMacro, Other(String), } |