From 2e30a3c4d81f2def59987b769dba28d155884f28 Mon Sep 17 00:00:00 2001 From: Alexander Regueiro Date: Sun, 13 Jan 2019 02:25:00 +0000 Subject: [PATCH] Removed more copyright notices. --- .../auxiliary/lint_group_plugin_test.rs | 10 ---------- src/test/rustdoc-ui/deny-missing-docs-crate.rs | 10 ---------- src/test/rustdoc-ui/deny-missing-docs-crate.stderr | 6 +++--- src/test/rustdoc-ui/deny-missing-docs-macro.rs | 10 ---------- src/test/rustdoc-ui/deny-missing-docs-macro.stderr | 4 ++-- src/test/rustdoc/no-crate-filter.rs | 10 ---------- .../feature-gate-type_alias_enum_variants.rs | 10 ---------- .../feature-gate-type_alias_enum_variants.stderr | 8 ++++---- 8 files changed, 9 insertions(+), 59 deletions(-) diff --git a/src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs b/src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs index efef4ab00aed2..bca1d7a72b4ab 100644 --- a/src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs +++ b/src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs @@ -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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - // force-host #![feature(plugin_registrar)] diff --git a/src/test/rustdoc-ui/deny-missing-docs-crate.rs b/src/test/rustdoc-ui/deny-missing-docs-crate.rs index 910c99314e49b..b74eba3f66b81 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-crate.rs +++ b/src/test/rustdoc-ui/deny-missing-docs-crate.rs @@ -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 or the MIT license -// , 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 diff --git a/src/test/rustdoc-ui/deny-missing-docs-crate.stderr b/src/test/rustdoc-ui/deny-missing-docs-crate.stderr index 7f0590e0b229b..1cfd6092cb3a5 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-crate.stderr +++ b/src/test/rustdoc-ui/deny-missing-docs-crate.stderr @@ -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 | ^^^^^^^^^^^^^^^ diff --git a/src/test/rustdoc-ui/deny-missing-docs-macro.rs b/src/test/rustdoc-ui/deny-missing-docs-macro.rs index a12fe17e0cb61..b1c1253176b30 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-macro.rs +++ b/src/test/rustdoc-ui/deny-missing-docs-macro.rs @@ -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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! foo #![deny(missing_docs)] diff --git a/src/test/rustdoc-ui/deny-missing-docs-macro.stderr b/src/test/rustdoc-ui/deny-missing-docs-macro.stderr index 686a45030e6ca..b87e60d8269ea 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-macro.stderr +++ b/src/test/rustdoc-ui/deny-missing-docs-macro.stderr @@ -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)] | ^^^^^^^^^^^^ diff --git a/src/test/rustdoc/no-crate-filter.rs b/src/test/rustdoc/no-crate-filter.rs index e49ce9e088ec6..c694d1456ef34 100644 --- a/src/test/rustdoc/no-crate-filter.rs +++ b/src/test/rustdoc/no-crate-filter.rs @@ -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 or the MIT license -// , 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 diff --git a/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.rs b/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.rs index 8997c1824ca6d..c7d3304a128dd 100644 --- a/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.rs +++ b/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.rs @@ -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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - enum Foo { Bar(i32), Baz { i: i32 }, diff --git a/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.stderr b/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.stderr index cba643e18ca1a..43535af7c69d8 100644 --- a/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.stderr +++ b/src/test/ui/feature-gates/feature-gate-type_alias_enum_variants.stderr @@ -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 } => {} | ^^^^^^^^^^