From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- ...e-48137-macros-cannot-interpolate-impl-items.rs | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/test/ui/parser/issues/issue-48137-macros-cannot-interpolate-impl-items.rs (limited to 'src/test/ui/parser/issues/issue-48137-macros-cannot-interpolate-impl-items.rs') diff --git a/src/test/ui/parser/issues/issue-48137-macros-cannot-interpolate-impl-items.rs b/src/test/ui/parser/issues/issue-48137-macros-cannot-interpolate-impl-items.rs deleted file mode 100644 index 8592f8a72..000000000 --- a/src/test/ui/parser/issues/issue-48137-macros-cannot-interpolate-impl-items.rs +++ /dev/null @@ -1,34 +0,0 @@ -// check-pass - -fn main() {} - -macro_rules! mac_impl { - ($i:item) => { - struct S; - impl S { $i } - } -} - -mac_impl! { - fn foo() {} -} - -macro_rules! mac_trait { - ($i:item) => { - trait T { $i } - } -} - -mac_trait! { - fn foo() {} -} - -macro_rules! mac_extern { - ($i:item) => { - extern "C" { $i } - } -} - -mac_extern! { - fn foo(); -} -- cgit v1.2.3