Skip to content

Commit 8242aa8

Browse files
committed
Bless ui tests.
1 parent 4a0c2d0 commit 8242aa8

File tree

6 files changed

+16
-19
lines changed

6 files changed

+16
-19
lines changed

src/test/ui/associated-item/associated-item-duplicate-names-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0201]: duplicate definitions with name `bar`:
44
LL | const bar: bool = true;
55
| ----------------------- previous definition of `bar` here
66
LL | fn bar() {}
7-
| ^^^^^^^^^^^ duplicate definition
7+
| ^^^^^^^^ duplicate definition
88

99
error: aborting due to previous error
1010

src/test/ui/error-codes/E0201.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ error[E0201]: duplicate definitions with name `bar`:
22
--> $DIR/E0201.rs:5:5
33
|
44
LL | fn bar(&self) -> bool { self.0 > 5 }
5-
| ------------------------------------ previous definition of `bar` here
5+
| --------------------- previous definition of `bar` here
66
LL | fn bar() {}
7-
| ^^^^^^^^^^^ duplicate definition
7+
| ^^^^^^^^ duplicate definition
88

99
error[E0201]: duplicate definitions with name `baz`:
1010
--> $DIR/E0201.rs:17:5
1111
|
1212
LL | fn baz(&self) -> bool { true }
13-
| ------------------------------ previous definition of `baz` here
13+
| --------------------- previous definition of `baz` here
1414
LL | fn baz(&self) -> bool { self.0 > 5 }
15-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
15+
| ^^^^^^^^^^^^^^^^^^^^^ duplicate definition
1616

1717
error[E0201]: duplicate definitions with name `Quux`:
1818
--> $DIR/E0201.rs:18:5

src/test/ui/impl-duplicate-methods.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `orange`:
22
--> $DIR/impl-duplicate-methods.rs:5:5
33
|
44
LL | fn orange(&self) {}
5-
| ------------------- previous definition of `orange` here
5+
| ---------------- previous definition of `orange` here
66
LL | fn orange(&self) {}
7-
| ^^^^^^^^^^^^^^^^^^^ duplicate definition
7+
| ^^^^^^^^^^^^^^^^ duplicate definition
88

99
error: aborting due to previous error
1010

src/test/ui/issues/issue-4265.stderr

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
error[E0201]: duplicate definitions with name `bar`:
22
--> $DIR/issue-4265.rs:10:5
33
|
4-
LL | / fn bar() {
5-
LL | | Foo { baz: 0 }.bar();
6-
LL | | }
7-
| |_____- previous definition of `bar` here
8-
LL |
9-
LL | / fn bar() {
10-
LL | | }
11-
| |_____^ duplicate definition
4+
LL | fn bar() {
5+
| -------- previous definition of `bar` here
6+
...
7+
LL | fn bar() {
8+
| ^^^^^^^^ duplicate definition
129

1310
error: aborting due to previous error
1411

src/test/ui/methods/method-macro-backtrace.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `bar`:
22
--> $DIR/method-macro-backtrace.rs:22:5
33
|
44
LL | fn bar(&self) { }
5-
| ----------------- previous definition of `bar` here
5+
| ------------- previous definition of `bar` here
66
LL | fn bar(&self) { }
7-
| ^^^^^^^^^^^^^^^^^ duplicate definition
7+
| ^^^^^^^^^^^^^ duplicate definition
88

99
error: aborting due to previous error
1010

src/test/ui/traits/issue-8153.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ error[E0201]: duplicate definitions with name `bar`:
22
--> $DIR/issue-8153.rs:11:5
33
|
44
LL | fn bar(&self) -> isize {1}
5-
| -------------------------- previous definition of `bar` here
5+
| ---------------------- previous definition of `bar` here
66
LL | fn bar(&self) -> isize {2}
7-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
7+
| ^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
88

99
error: aborting due to previous error
1010

0 commit comments

Comments
 (0)