mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
move NtVis enum variant to stave off comment rot
This commit is contained in:
@@ -363,6 +363,7 @@ pub enum Nonterminal {
|
||||
/// Stuff inside brackets for attributes
|
||||
NtMeta(ast::MetaItem),
|
||||
NtPath(ast::Path),
|
||||
NtVis(ast::Visibility),
|
||||
NtTT(TokenTree),
|
||||
// These are not exposed to macros, but are used by quasiquote.
|
||||
NtArm(ast::Arm),
|
||||
@@ -371,7 +372,6 @@ pub enum Nonterminal {
|
||||
NtGenerics(ast::Generics),
|
||||
NtWhereClause(ast::WhereClause),
|
||||
NtArg(ast::Arg),
|
||||
NtVis(ast::Visibility),
|
||||
}
|
||||
|
||||
impl fmt::Debug for Nonterminal {
|
||||
|
||||
Reference in New Issue
Block a user