]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_builtin_macros/src/edition_panic.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / compiler / rustc_builtin_macros / src / edition_panic.rs
index ea0e768a58f489d984eedbff74cbb57ab4d4e4a1..3f1a8b3bc2cf7b2c45a8d078e21091bef961eae7 100644 (file)
@@ -48,7 +48,7 @@ fn expand<'cx>(
     MacEager::expr(
         cx.expr(
             sp,
-            ExprKind::MacCall(MacCall {
+            ExprKind::MacCall(P(MacCall {
                 path: Path {
                     span: sp,
                     segments: cx
@@ -64,7 +64,7 @@ fn expand<'cx>(
                     tts,
                 )),
                 prior_type_ascription: None,
-            }),
+            })),
         ),
     )
 }