]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/private-item-doc-test.rs
Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasper
[rust.git] / src / test / rustdoc-ui / private-item-doc-test.rs
index 771dc3bd351128e392734d4f8dfc14ce48aa6272..2f1bddc7c75ccdbc4754554838c4a9b12a4df923 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2018 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.
-
 #![deny(private_doc_tests)]
 
 mod foo {
@@ -16,6 +6,6 @@ mod foo {
     /// ```
     /// assert!(false);
     /// ```
-    //~^^^^^ ERROR Documentation test in private item
+    //~^^^^^ ERROR documentation test in private item
     fn bar() {}
 }