]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/placeholders.rs
Rollup merge of #105239 - gh2o:no-heap-alloc-on-thread-start, r=cuviper
[rust.git] / compiler / rustc_expand / src / placeholders.rs
index 97b1871028ec043075f2f6a7f5cdc1bafc411c8a..03bb5c1dfe45fbe9b2bdba1317858280237a0783 100644 (file)
@@ -16,7 +16,11 @@ pub fn placeholder(
     fn mac_placeholder() -> P<ast::MacCall> {
         P(ast::MacCall {
             path: ast::Path { span: DUMMY_SP, segments: ThinVec::new(), tokens: None },
-            args: P(ast::MacArgs::Empty),
+            args: P(ast::DelimArgs {
+                dspan: ast::tokenstream::DelimSpan::dummy(),
+                delim: ast::MacDelimiter::Parenthesis,
+                tokens: ast::tokenstream::TokenStream::new(Vec::new()),
+            }),
             prior_type_ascription: None,
         })
     }