Skip to content

Commit 904168f

Browse files
committed
mbe: leave a FIXME
1 parent 9dc07b0 commit 904168f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libsyntax_expand/mbe/macro_parser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,9 @@ fn may_begin_with(token: &Token, name: Name) -> bool {
890890
///
891891
/// The parsed non-terminal.
892892
fn parse_nt(p: &mut Parser<'_>, sp: Span, name: Symbol) -> Nonterminal {
893+
// FIXME(Centril): Consider moving this to `parser.rs` to make
894+
// the visibilities of the methods used below `pub(super)` at most.
895+
893896
if name == sym::tt {
894897
return token::NtTT(p.parse_token_tree());
895898
}

0 commit comments

Comments
 (0)