Bless ui tests.

This commit is contained in:
Camille GILLOT 2022-06-22 20:00:12 +02:00
parent 4a0c2d0dd1
commit 8242aa839e
6 changed files with 16 additions and 19 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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