]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/attributes/const-stability-on-macro.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / attributes / const-stability-on-macro.rs
index 3fc60f7ce48c2154c686a218e960411ffded2267..412af195d7a19284976efe3a2089e0dd08308802 100644 (file)
@@ -1,3 +1,6 @@
+#![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 {