about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-02-07 10:10:11 +0100
committervarkor <github@varkor.com>2019-02-07 15:02:17 +0100
commitbbdcc4e7ce697bbd6ad398987c5e4ec4928f5da4 (patch)
tree507022857394927fbb9adb152dcb55f70887ea72 /src/libsyntax/parse/token.rs
parent899d013fefba27b66c655af4199ccecf8fb9fdae (diff)
downloadrust-bbdcc4e7ce697bbd6ad398987c5e4ec4928f5da4.tar.gz
rust-bbdcc4e7ce697bbd6ad398987c5e4ec4928f5da4.zip
Adjust parser generic parameter errors
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index dad32072739..c3885f0d04d 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -284,7 +284,6 @@ impl Token {
         match self {
             OpenDelim(Brace) => true,
             Interpolated(ref nt) => match nt.0 {
-                NtExpr(..) => true,
                 NtBlock(..) => true,
                 NtLiteral(..) => true,
                 _ => false,