Skip to content

Commit 06d3233

Browse files
committed
move NtVis enum variant to stave off comment rot
1 parent 16010c2 commit 06d3233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ pub enum Nonterminal {
363363
/// Stuff inside brackets for attributes
364364
NtMeta(ast::MetaItem),
365365
NtPath(ast::Path),
366+
NtVis(ast::Visibility),
366367
NtTT(TokenTree),
367368
// These are not exposed to macros, but are used by quasiquote.
368369
NtArm(ast::Arm),
@@ -371,7 +372,6 @@ pub enum Nonterminal {
371372
NtGenerics(ast::Generics),
372373
NtWhereClause(ast::WhereClause),
373374
NtArg(ast::Arg),
374-
NtVis(ast::Visibility),
375375
}
376376

377377
impl fmt::Debug for Nonterminal {

0 commit comments

Comments
 (0)