Removed more copyright notices.
This commit is contained in:
parent
49143e095f
commit
2e30a3c4d8
|
@ -1,13 +1,3 @@
|
|||
// Copyright 2014 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.
|
||||
|
||||
// force-host
|
||||
|
||||
#![feature(plugin_registrar)]
|
||||
|
|
|
@ -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(missing_docs)] //~ ERROR
|
||||
|
||||
pub struct Foo; //~ ERROR
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: missing documentation for crate
|
||||
--> $DIR/deny-missing-docs-crate.rs:11:1
|
||||
--> $DIR/deny-missing-docs-crate.rs:1:1
|
||||
|
|
||||
LL | / #![deny(missing_docs)] //~ ERROR
|
||||
LL | |
|
||||
|
@ -7,13 +7,13 @@ LL | | pub struct Foo; //~ ERROR
|
|||
| |_______________^
|
||||
|
|
||||
note: lint level defined here
|
||||
--> $DIR/deny-missing-docs-crate.rs:11:9
|
||||
--> $DIR/deny-missing-docs-crate.rs:1:9
|
||||
|
|
||||
LL | #![deny(missing_docs)] //~ ERROR
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: missing documentation for a struct
|
||||
--> $DIR/deny-missing-docs-crate.rs:13:1
|
||||
--> $DIR/deny-missing-docs-crate.rs:3:1
|
||||
|
|
||||
LL | pub struct Foo; //~ ERROR
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
|
|
@ -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.
|
||||
|
||||
//! foo
|
||||
|
||||
#![deny(missing_docs)]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
error: missing documentation for macro
|
||||
--> $DIR/deny-missing-docs-macro.rs:16:1
|
||||
--> $DIR/deny-missing-docs-macro.rs:6:1
|
||||
|
|
||||
LL | macro_rules! foo { //~ ERROR
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
|
||||
note: lint level defined here
|
||||
--> $DIR/deny-missing-docs-macro.rs:13:9
|
||||
--> $DIR/deny-missing-docs-macro.rs:3:9
|
||||
|
|
||||
LL | #![deny(missing_docs)]
|
||||
| ^^^^^^^^^^^^
|
||||
|
|
|
@ -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.
|
||||
|
||||
#![crate_name = "foo"]
|
||||
|
||||
// compile-flags: -Z unstable-options --disable-per-crate-search
|
||||
|
|
|
@ -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.
|
||||
|
||||
enum Foo {
|
||||
Bar(i32),
|
||||
Baz { i: i32 },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: enum variants on type aliases are experimental
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:19:13
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:9:13
|
||||
|
|
||||
LL | let t = Alias::Bar(0);
|
||||
| ^^^^^^^^^^
|
||||
|
@ -7,7 +7,7 @@ LL | let t = Alias::Bar(0);
|
|||
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
|
||||
|
||||
error: enum variants on type aliases are experimental
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:21:13
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:11:13
|
||||
|
|
||||
LL | let t = Alias::Baz { i: 0 };
|
||||
| ^^^^^^^^^^
|
||||
|
@ -15,7 +15,7 @@ LL | let t = Alias::Baz { i: 0 };
|
|||
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
|
||||
|
||||
error: enum variants on type aliases are experimental
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:24:9
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:14:9
|
||||
|
|
||||
LL | Alias::Bar(_i) => {}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
@ -23,7 +23,7 @@ LL | Alias::Bar(_i) => {}
|
|||
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
|
||||
|
||||
error: enum variants on type aliases are experimental
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:26:9
|
||||
--> $DIR/feature-gate-type_alias_enum_variants.rs:16:9
|
||||
|
|
||||
LL | Alias::Baz { i: _i } => {}
|
||||
| ^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue