about summary refs log tree commit diff
path: root/src/librustc_parse/parser/expr.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-06-07 21:29:48 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-06-26 00:39:31 +0300
commit77b0ed70b3658cb7ba7b18f68519b3baf953213b (patch)
tree840cbd84a0baf4b8267cfc250d116fcec5f477ea /src/librustc_parse/parser/expr.rs
parent50fc24d8a172a853b5dfe40702d6550e3b8562ba (diff)
downloadrust-77b0ed70b3658cb7ba7b18f68519b3baf953213b.tar.gz
rust-77b0ed70b3658cb7ba7b18f68519b3baf953213b.zip
proc_macro: Stop flattening groups with dummy spans
Diffstat (limited to 'src/librustc_parse/parser/expr.rs')
-rw-r--r--src/librustc_parse/parser/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_parse/parser/expr.rs b/src/librustc_parse/parser/expr.rs
index 49a5c880176..2745b18a8cd 100644
--- a/src/librustc_parse/parser/expr.rs
+++ b/src/librustc_parse/parser/expr.rs
@@ -26,7 +26,7 @@ use std::mem;
 /// `token::Interpolated` tokens.
 macro_rules! maybe_whole_expr {
     ($p:expr) => {
-        if let token::Interpolated(nt) = &$p.token.kind {
+        if let token::Interpolated(nt, _) = &$p.token.kind {
             match &**nt {
                 token::NtExpr(e) | token::NtLiteral(e) => {
                     let e = e.clone();