diff options
| author | bors <bors@rust-lang.org> | 2017-12-20 14:47:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-20 14:47:21 +0000 |
| commit | 81622c6b02536bdcf56145beb317da0d336703c1 (patch) | |
| tree | 2624499fcf70ff3d8f4072b6aab9a42b9ec9342a /src/libsyntax/parse | |
| parent | df8dfdeff68e60a68d026a3374cfb8159d0495cb (diff) | |
| parent | 66e5c790682204d35191dd62332c6f503cdeddbd (diff) | |
| download | rust-81622c6b02536bdcf56145beb317da0d336703c1.tar.gz rust-81622c6b02536bdcf56145beb317da0d336703c1.zip | |
Auto merge of #46874 - kennytm:rollup, r=kennytm
Rollup of 14 pull requests - Successful merges: #46359, #46517, #46671, #46751, #46760, #46787, #46794, #46828, #46831, #46835, #46851, #46852, #46856, #46870 - Failed merges:
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index c3dd17e8775..74ec11b83c7 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1553,7 +1553,7 @@ impl<'a> Parser<'a> { if self.eat(&token::Not) { // Macro invocation in type position let (_, tts) = self.expect_delimited_token_tree()?; - TyKind::Mac(respan(lo.to(self.span), Mac_ { path: path, tts: tts })) + TyKind::Mac(respan(lo.to(self.prev_span), Mac_ { path: path, tts: tts })) } else { // Just a type path or bound list (trait object type) starting with a trait. // `Type` |
