]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/parse/tests.rs
Rollup merge of #104906 - spastorino:remove-ascribeusertypecx, r=compiler-errors
[rust.git] / compiler / rustc_expand / src / parse / tests.rs
index a3c631d3318a08246a2fa2628002889231ba3438..e49f112bf20a69a2ec01c6d29f346ae9504d3d47 100644 (file)
@@ -291,7 +291,7 @@ fn parse_expr_from_source_str(
         .unwrap();
 
         let tts: Vec<_> = match expr.kind {
-            ast::ExprKind::MacCall(ref mac) => mac.args.inner_tokens().into_trees().collect(),
+            ast::ExprKind::MacCall(ref mac) => mac.args.tokens.clone().into_trees().collect(),
             _ => panic!("not a macro"),
         };