Revert "Promote missing_fragment_specifier to hard error"

This reverts commit 02eae432e7.
This commit is contained in:
Wesley Wiser
2020-12-19 16:30:56 -05:00
parent 9414f0b833
commit f1eb88b28a
14 changed files with 90 additions and 32 deletions

View File

@@ -84,7 +84,7 @@ enum TokenTree {
/// e.g., `$var`
MetaVar(Span, Ident),
/// e.g., `$var:expr`. This is only used in the left hand side of MBE macros.
MetaVarDecl(Span, Ident /* name to bind */, NonterminalKind),
MetaVarDecl(Span, Ident /* name to bind */, Option<NonterminalKind>),
}
impl TokenTree {