Skip to content

Commit c8e5a18

Browse files
committed
Update test output
1 parent c57ab0c commit c8e5a18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ui/ambiguous_method_calls.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: ambiguous trait method name
2-
--> $DIR/ambiguous_method_calls.rs:22:8
2+
--> $DIR/ambiguous_method_calls.rs:21:8
33
|
44
LL | fn ambiguous(&self) {
55
| ^^^^^^^^^
@@ -8,17 +8,17 @@ LL | fn ambiguous(&self) {
88
= help: to override `-D warnings` add `#[allow(clippy::ambiguous_method_calls)]`
99

1010
error: ambiguous struct method name
11-
--> $DIR/ambiguous_method_calls.rs:12:8
11+
--> $DIR/ambiguous_method_calls.rs:11:8
1212
|
1313
LL | fn ambiguous(&self) {
1414
| ^^^^^^^^^
1515
|
1616
= help: consider renaming the struct impl's method
1717

1818
error: ambiguous struct method call
19-
--> $DIR/ambiguous_method_calls.rs:34:10
19+
--> $DIR/ambiguous_method_calls.rs:35:10
2020
|
21-
LL | data.ambiguous();
21+
LL | Base.ambiguous();
2222
| ^^^^^^^^^^^
2323
|
2424
= help: consider renaming the struct impl's method or explicitly qualifying the call site

0 commit comments

Comments
 (0)