File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
error: ambiguous trait method name
2
- --> $DIR/ambiguous_method_calls.rs:22 :8
2
+ --> $DIR/ambiguous_method_calls.rs:21 :8
3
3
|
4
4
LL | fn ambiguous(&self) {
5
5
| ^^^^^^^^^
@@ -8,17 +8,17 @@ LL | fn ambiguous(&self) {
8
8
= help: to override `-D warnings` add `#[allow(clippy::ambiguous_method_calls)]`
9
9
10
10
error: ambiguous struct method name
11
- --> $DIR/ambiguous_method_calls.rs:12 :8
11
+ --> $DIR/ambiguous_method_calls.rs:11 :8
12
12
|
13
13
LL | fn ambiguous(&self) {
14
14
| ^^^^^^^^^
15
15
|
16
16
= help: consider renaming the struct impl's method
17
17
18
18
error: ambiguous struct method call
19
- --> $DIR/ambiguous_method_calls.rs:34 :10
19
+ --> $DIR/ambiguous_method_calls.rs:35 :10
20
20
|
21
- LL | data .ambiguous();
21
+ LL | Base .ambiguous();
22
22
| ^^^^^^^^^^^
23
23
|
24
24
= help: consider renaming the struct impl's method or explicitly qualifying the call site
You can’t perform that action at this time.
0 commit comments