about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe.rs
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2020-12-19 16:30:56 -0500
committerWesley Wiser <wwiser@gmail.com>2020-12-22 09:33:16 -0500
commitf1eb88b28a84b0533ddd036a60bb5b8acbffabb2 (patch)
treed97f70bd40a68bd517da1e63b56d0c64d6b001f2 /compiler/rustc_expand/src/mbe.rs
parent9414f0b833734c344e795d590e9a845ce437c908 (diff)
downloadrust-f1eb88b28a84b0533ddd036a60bb5b8acbffabb2.tar.gz
rust-f1eb88b28a84b0533ddd036a60bb5b8acbffabb2.zip
Revert "Promote missing_fragment_specifier to hard error"
This reverts commit 02eae432e7476a0686633a8c2b7cb1d5aab1bd2c.
Diffstat (limited to 'compiler/rustc_expand/src/mbe.rs')
-rw-r--r--compiler/rustc_expand/src/mbe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/mbe.rs b/compiler/rustc_expand/src/mbe.rs
index eb4aab116f0..cbc4d14a65a 100644
--- a/compiler/rustc_expand/src/mbe.rs
+++ b/compiler/rustc_expand/src/mbe.rs
@@ -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 {