From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/attributes/const-stability-on-macro.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/test/ui/attributes/const-stability-on-macro.rs (limited to 'src/test/ui/attributes/const-stability-on-macro.rs') diff --git a/src/test/ui/attributes/const-stability-on-macro.rs b/src/test/ui/attributes/const-stability-on-macro.rs deleted file mode 100644 index 412af195d..000000000 --- a/src/test/ui/attributes/const-stability-on-macro.rs +++ /dev/null @@ -1,16 +0,0 @@ -#![feature(staged_api)] -#![stable(feature = "rust1", since = "1.0.0")] - -#[rustc_const_stable(feature = "foo", since = "0")] -//~^ ERROR macros cannot have const stability attributes -macro_rules! foo { - () => {}; -} - -#[rustc_const_unstable(feature = "bar", issue="none")] -//~^ ERROR macros cannot have const stability attributes -macro_rules! bar { - () => {}; -} - -fn main() {} -- cgit v1.2.3