]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/lint-group.rs
Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasper
[rust.git] / src / test / rustdoc-ui / lint-group.rs
index f82bfb52246d906315a8b3e9f8d922c5e9e0f22a..06766db5335a1eeb4d3c2ec7da0f1db03cac6e7f 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.
-
 //! Documenting the kinds of lints emitted by rustdoc.
 //!
 //! ```
 pub fn link_error() {} //~^^^^^ ERROR cannot be resolved, ignoring it
 
 /// wait, this doesn't have a doctest?
-pub fn no_doctest() {} //~^ ERROR Missing code example in this documentation
+pub fn no_doctest() {} //~^ ERROR missing code example in this documentation
 
 /// wait, this *does* have a doctest?
 ///
 /// ```
 /// println!("sup");
 /// ```
-fn private_doctest() {} //~^^^^^ ERROR Documentation test in private item
+fn private_doctest() {} //~^^^^^ ERROR documentation test in private item