1
Fork 0

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

@ -177,7 +177,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
});
self.cx.expr(
self.span,
ExprKind::MacCall(MacCall {
ExprKind::MacCall(P(MacCall {
path: panic_path,
args: P(MacArgs::Delimited(
DelimSpan::from_single(self.span),
@ -185,7 +185,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
initial.into_iter().chain(captures).collect::<TokenStream>(),
)),
prior_type_ascription: None,
}),
})),
)
}