]> git.lizzy.rs Git - rust.git/commitdiff
Remove dangling COPYRIGHT references
authorTamir Duberstein <tamird@google.com>
Tue, 19 May 2020 17:08:50 +0000 (13:08 -0400)
committerTamir Duberstein <tamird@google.com>
Tue, 19 May 2020 18:34:30 +0000 (14:34 -0400)
Missed in 2a663555ddf36f6b041445894a8c175cd1bc718c.

src/test/ui/issues/issue-49851/compiler-builtins-error.rs
src/test/ui/ui-testing-optout.rs
src/test/ui/ui-testing-optout.stderr
src/test/ui/unsafe/unsafe-fn-assign-deref-ptr.rs
src/test/ui/unsafe/unsafe-fn-assign-deref-ptr.stderr

index 3484ff3b87432de48781d295fa41489d00826d58..9449376513fd569e16c0d955103c0268970fcd2f 100644 (file)
@@ -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)]
index 901263c5bf8d2e18fa9c9d8e841c57171bcbd7c8..88e811583161c1a27b06f9568fe1dc65a7da3d55 100644 (file)
@@ -3,9 +3,6 @@
 // Line number < 10
 type A = B; //~ ERROR
 
-// http://rust-lang.org/COPYRIGHT.
-//
-
 // Line number >=10, <100
 type C = D; //~ ERROR
 
index ff5bf6238e20b5e71931e625cc05cad0fe6b2d4f..f562bb74c1173508c97a7d5464f69d1fe83c075e 100644 (file)
@@ -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
index 64bdca524571974a24b75a626d2865f0bf8501d3..91264e790c8db40e5e73277c5445b443c65b7d68 100644 (file)
@@ -1,7 +1,3 @@
-// http://rust-lang.org/COPYRIGHT.
-//
-
-
 fn f(p: *mut u8) {
     *p = 0; //~ ERROR dereference of raw pointer is unsafe
     return;
index 8f621d6ed11ca98a7ace882d676e4e820a0bb4f6..28db83db92ac87b36475030775f60c5a75636e58 100644 (file)
@@ -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