mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
Bless ui tests.
This commit is contained in:
parent
4a0c2d0dd1
commit
8242aa839e
@ -4,7 +4,7 @@ error[E0201]: duplicate definitions with name `bar`:
|
||||
LL | const bar: bool = true;
|
||||
| ----------------------- previous definition of `bar` here
|
||||
LL | fn bar() {}
|
||||
| ^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^ duplicate definition
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
@ -2,17 +2,17 @@ error[E0201]: duplicate definitions with name `bar`:
|
||||
--> $DIR/E0201.rs:5:5
|
||||
|
|
||||
LL | fn bar(&self) -> bool { self.0 > 5 }
|
||||
| ------------------------------------ previous definition of `bar` here
|
||||
| --------------------- previous definition of `bar` here
|
||||
LL | fn bar() {}
|
||||
| ^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^ duplicate definition
|
||||
|
||||
error[E0201]: duplicate definitions with name `baz`:
|
||||
--> $DIR/E0201.rs:17:5
|
||||
|
|
||||
LL | fn baz(&self) -> bool { true }
|
||||
| ------------------------------ previous definition of `baz` here
|
||||
| --------------------- previous definition of `baz` here
|
||||
LL | fn baz(&self) -> bool { self.0 > 5 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
|
||||
error[E0201]: duplicate definitions with name `Quux`:
|
||||
--> $DIR/E0201.rs:18:5
|
||||
|
@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `orange`:
|
||||
--> $DIR/impl-duplicate-methods.rs:5:5
|
||||
|
|
||||
LL | fn orange(&self) {}
|
||||
| ------------------- previous definition of `orange` here
|
||||
| ---------------- previous definition of `orange` here
|
||||
LL | fn orange(&self) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^^^^^^^^^ duplicate definition
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
@ -1,14 +1,11 @@
|
||||
error[E0201]: duplicate definitions with name `bar`:
|
||||
--> $DIR/issue-4265.rs:10:5
|
||||
|
|
||||
LL | / fn bar() {
|
||||
LL | | Foo { baz: 0 }.bar();
|
||||
LL | | }
|
||||
| |_____- previous definition of `bar` here
|
||||
LL |
|
||||
LL | / fn bar() {
|
||||
LL | | }
|
||||
| |_____^ duplicate definition
|
||||
LL | fn bar() {
|
||||
| -------- previous definition of `bar` here
|
||||
...
|
||||
LL | fn bar() {
|
||||
| ^^^^^^^^ duplicate definition
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `bar`:
|
||||
--> $DIR/method-macro-backtrace.rs:22:5
|
||||
|
|
||||
LL | fn bar(&self) { }
|
||||
| ----------------- previous definition of `bar` here
|
||||
| ------------- previous definition of `bar` here
|
||||
LL | fn bar(&self) { }
|
||||
| ^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^^^^^^ duplicate definition
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `bar`:
|
||||
--> $DIR/issue-8153.rs:11:5
|
||||
|
|
||||
LL | fn bar(&self) -> isize {1}
|
||||
| -------------------------- previous definition of `bar` here
|
||||
| ---------------------- previous definition of `bar` here
|
||||
LL | fn bar(&self) -> isize {2}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user