Skip to content

Commit

Permalink
Remove copyright headers in tests.
Browse files Browse the repository at this point in the history
These were all removed a while ago in rust-lang/rust#57108
  • Loading branch information
ehuss committed Nov 19, 2023
1 parent b5308f6 commit f99a494
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
// Copyright 2017 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.

// Point at the captured immutable outer variable

fn foo(mut f: Box<dyn FnMut()>) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
// Copyright 2017 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.

// Point at the captured immutable outer variable

fn foo(mut f: Box<FnMut()>) {
Expand Down
11 changes: 0 additions & 11 deletions crates/rustfix/tests/everything/str-lit-type-mismatch.fixed.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
// Copyright 2016 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.


fn main() {
let x: &[u8] = b"foo"; //~ ERROR mismatched types
let y: &[u8; 4] = b"baaa"; //~ ERROR mismatched types
Expand Down
11 changes: 0 additions & 11 deletions crates/rustfix/tests/everything/str-lit-type-mismatch.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
// Copyright 2016 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.


fn main() {
let x: &[u8] = "foo"; //~ ERROR mismatched types
let y: &[u8; 4] = "baaa"; //~ ERROR mismatched types
Expand Down

0 comments on commit f99a494

Please sign in to comment.