]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/doc-comments.rs
Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus
[rust.git] / src / test / pretty / doc-comments.rs
index 45e242c0ca04934ae6ab60e646bd1800e22292af..2a98c9fc058972c5c49f72a06a522a826d3bb054 100644 (file)
@@ -1,12 +1,4 @@
-// Copyright 2012-2013 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.
+// compile-flags: --crate-type=lib
 
 // pp-exact
 
@@ -57,5 +49,5 @@ fn f() { }
 fn g() { }
 
 fn h() {
-    #[doc = "as do inner ones"];
+    #![doc = "as do inner ones"]
 }