diff options
| author | bors <bors@rust-lang.org> | 2019-08-04 16:19:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-04 16:19:04 +0000 |
| commit | f01b9f803b59f170f5dabaaa8aedc96abe45bfea (patch) | |
| tree | e7388497c7f95770a07c90e2a67edbc0aa9851f4 /src/libsyntax/mut_visit.rs | |
| parent | 460072ebeed5a2463109894592ac172b47cdfb74 (diff) | |
| parent | c82e1f2d0e0b7fec9265eac851b2ac8b500ec4cc (diff) | |
| download | rust-f01b9f803b59f170f5dabaaa8aedc96abe45bfea.tar.gz rust-f01b9f803b59f170f5dabaaa8aedc96abe45bfea.zip | |
Auto merge of #62816 - estebank:type-ascription-macros, r=petrochenkov
Point at type ascription before macro invocation on expansion parse error Fix https://github.com/rust-lang/rust/issues/47666. Follow up to https://github.com/rust-lang/rust/pull/62791. r? @petrochenkov
Diffstat (limited to 'src/libsyntax/mut_visit.rs')
| -rw-r--r-- | src/libsyntax/mut_visit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/mut_visit.rs b/src/libsyntax/mut_visit.rs index 176bcf1959a..cbad74e1561 100644 --- a/src/libsyntax/mut_visit.rs +++ b/src/libsyntax/mut_visit.rs @@ -533,7 +533,7 @@ pub fn noop_visit_attribute<T: MutVisitor>(attr: &mut Attribute, vis: &mut T) { } pub fn noop_visit_mac<T: MutVisitor>(Spanned { node, span }: &mut Mac, vis: &mut T) { - let Mac_ { path, delim: _, tts } = node; + let Mac_ { path, delim: _, tts, .. } = node; vis.visit_path(path); vis.visit_tts(tts); vis.visit_span(span); |
