Skip to content

Remove dangling COPYRIGHT references #72354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/test/ui/issues/issue-49851/compiler-builtins-error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//~ ERROR 1:1: 1:1: can't find crate for `core` [E0463]
// http://rust-lang.org/COPYRIGHT.
//

// compile-flags: --target thumbv7em-none-eabihf
#![deny(unsafe_code)]
Expand Down
3 changes: 0 additions & 3 deletions src/test/ui/ui-testing-optout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// Line number < 10
type A = B; //~ ERROR

// http://rust-lang.org/COPYRIGHT.
//

// Line number >=10, <100
type C = D; //~ ERROR

Expand Down
16 changes: 8 additions & 8 deletions src/test/ui/ui-testing-optout.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ error[E0412]: cannot find type `B` in this scope
| similarly named type alias `A` defined here

error[E0412]: cannot find type `D` in this scope
--> $DIR/ui-testing-optout.rs:10:10
|
4 | type A = B;
| ----------- similarly named type alias `A` defined here
--> $DIR/ui-testing-optout.rs:7:10
|
4 | type A = B;
| ----------- similarly named type alias `A` defined here
...
10 | type C = D;
| ^ help: a type alias with a similar name exists: `A`
7 | type C = D;
| ^ help: a type alias with a similar name exists: `A`

error[E0412]: cannot find type `F` in this scope
--> $DIR/ui-testing-optout.rs:95:10
--> $DIR/ui-testing-optout.rs:92:10
|
4 | type A = B;
| ----------- similarly named type alias `A` defined here
...
95 | type E = F;
92 | type E = F;
| ^ help: a type alias with a similar name exists: `A`

error: aborting due to 3 previous errors
Expand Down
4 changes: 0 additions & 4 deletions src/test/ui/unsafe/unsafe-fn-assign-deref-ptr.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// http://rust-lang.org/COPYRIGHT.
//


fn f(p: *mut u8) {
*p = 0; //~ ERROR dereference of raw pointer is unsafe
return;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/unsafe/unsafe-fn-assign-deref-ptr.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0133]: dereference of raw pointer is unsafe and requires unsafe function or block
--> $DIR/unsafe-fn-assign-deref-ptr.rs:6:5
--> $DIR/unsafe-fn-assign-deref-ptr.rs:2:5
|
LL | *p = 0;
| ^^^^^^ dereference of raw pointer
Expand Down