From c82e1f2d0e0b7fec9265eac851b2ac8b500ec4cc Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Thu, 18 Jul 2019 18:36:19 -0700 Subject: Point at type ascription before macro invocation on expansion parse error --- src/libsyntax/ast.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax/ast.rs') diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 58a1c4aee9a..76b67366f06 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1303,6 +1303,7 @@ pub struct Mac_ { pub path: Path, pub delim: MacDelimiter, pub tts: TokenStream, + pub prior_type_ascription: Option<(Span, bool)>, } #[derive(Copy, Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Debug)] -- cgit 1.4.1-3-g733a5