]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/attr-fn-inner.rs
Rollup merge of #69645 - DutchGhost:const-forget-tests, r=Dylan-DPC
[rust.git] / src / test / pretty / attr-fn-inner.rs
index f13339e334c6ec4dfa40d075a93c6ee8c6e3b1d5..0a745e7d34fc1bcab326efa5a9dc39a9ef0e4b76 100644 (file)
@@ -1,15 +1,16 @@
-// pp-exact
 // Testing that both the inner item and next outer item are
 // preserved, and that the first outer item parsed in main is not
 // accidentally carried over to each inner function
 
-#![feature(custom_attribute)]
+// pp-exact
+
+#![feature(rustc_attrs)]
 
 fn main() {
-    #![inner_attr]
-    #[outer_attr]
+    #![rustc_dummy]
+    #[rustc_dummy]
     fn f() { }
 
-    #[outer_attr]
+    #[rustc_dummy]
     fn g() { }
 }