Box the MacCall in various types.

This commit is contained in:
Nicholas Nethercote 2022-08-12 12:20:10 +10:00
parent 5746c752f4
commit eafd0dfd05
12 changed files with 94 additions and 94 deletions

View file

@ -665,7 +665,7 @@ impl<'a> Parser<'a> {
fn parse_pat_mac_invoc(&mut self, path: Path) -> PResult<'a, PatKind> {
self.bump();
let args = self.parse_mac_args()?;
let mac = MacCall { path, args, prior_type_ascription: self.last_type_ascription };
let mac = P(MacCall { path, args, prior_type_ascription: self.last_type_ascription });
Ok(PatKind::MacCall(mac))
}