]> 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 79964d2a7bacab9ad9fa7b4cc63ebd28cdc08115..0a745e7d34fc1bcab326efa5a9dc39a9ef0e4b76 100644 (file)
@@ -1,25 +1,16 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// 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() { }
 }