Skip to content

Commit 2e30a3c

Browse files
author
Alexander Regueiro
committed
Removed more copyright notices.
1 parent 49143e0 commit 2e30a3c

8 files changed

+9
-59
lines changed

src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
// force-host
122

133
#![feature(plugin_registrar)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
#![deny(missing_docs)] //~ ERROR
122

133
pub struct Foo; //~ ERROR

src/test/rustdoc-ui/deny-missing-docs-crate.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
error: missing documentation for crate
2-
--> $DIR/deny-missing-docs-crate.rs:11:1
2+
--> $DIR/deny-missing-docs-crate.rs:1:1
33
|
44
LL | / #![deny(missing_docs)] //~ ERROR
55
LL | |
66
LL | | pub struct Foo; //~ ERROR
77
| |_______________^
88
|
99
note: lint level defined here
10-
--> $DIR/deny-missing-docs-crate.rs:11:9
10+
--> $DIR/deny-missing-docs-crate.rs:1:9
1111
|
1212
LL | #![deny(missing_docs)] //~ ERROR
1313
| ^^^^^^^^^^^^
1414

1515
error: missing documentation for a struct
16-
--> $DIR/deny-missing-docs-crate.rs:13:1
16+
--> $DIR/deny-missing-docs-crate.rs:3:1
1717
|
1818
LL | pub struct Foo; //~ ERROR
1919
| ^^^^^^^^^^^^^^^

src/test/rustdoc-ui/deny-missing-docs-macro.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
//! foo
122
133
#![deny(missing_docs)]

src/test/rustdoc-ui/deny-missing-docs-macro.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: missing documentation for macro
2-
--> $DIR/deny-missing-docs-macro.rs:16:1
2+
--> $DIR/deny-missing-docs-macro.rs:6:1
33
|
44
LL | macro_rules! foo { //~ ERROR
55
| ^^^^^^^^^^^^^^^^
66
|
77
note: lint level defined here
8-
--> $DIR/deny-missing-docs-macro.rs:13:9
8+
--> $DIR/deny-missing-docs-macro.rs:3:9
99
|
1010
LL | #![deny(missing_docs)]
1111
| ^^^^^^^^^^^^

src/test/rustdoc/no-crate-filter.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
#![crate_name = "foo"]
122

133
// compile-flags: -Z unstable-options --disable-per-crate-search

src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
enum Foo {
122
Bar(i32),
133
Baz { i: i32 },

src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
error: enum variants on type aliases are experimental
2-
--> $DIR/feature-gate-type_alias_enum_variants.rs:19:13
2+
--> $DIR/feature-gate-type_alias_enum_variants.rs:9:13
33
|
44
LL | let t = Alias::Bar(0);
55
| ^^^^^^^^^^
66
|
77
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
88

99
error: enum variants on type aliases are experimental
10-
--> $DIR/feature-gate-type_alias_enum_variants.rs:21:13
10+
--> $DIR/feature-gate-type_alias_enum_variants.rs:11:13
1111
|
1212
LL | let t = Alias::Baz { i: 0 };
1313
| ^^^^^^^^^^
1414
|
1515
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
1616

1717
error: enum variants on type aliases are experimental
18-
--> $DIR/feature-gate-type_alias_enum_variants.rs:24:9
18+
--> $DIR/feature-gate-type_alias_enum_variants.rs:14:9
1919
|
2020
LL | Alias::Bar(_i) => {}
2121
| ^^^^^^^^^^^^^^
2222
|
2323
= help: add `#![feature(type_alias_enum_variants)]` to the crate attributes to enable
2424

2525
error: enum variants on type aliases are experimental
26-
--> $DIR/feature-gate-type_alias_enum_variants.rs:26:9
26+
--> $DIR/feature-gate-type_alias_enum_variants.rs:16:9
2727
|
2828
LL | Alias::Baz { i: _i } => {}
2929
| ^^^^^^^^^^

0 commit comments

Comments
 (0)