Box the MacCall
in various types.
This commit is contained in:
parent
5746c752f4
commit
eafd0dfd05
12 changed files with 94 additions and 94 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue