Rework print_disambiguation_help
This commit is contained in:
parent
88a37acb26
commit
0add056dee
8 changed files with 93 additions and 113 deletions
|
@ -54,8 +54,8 @@ LL | let z = NuisanceFoo::foo(x);
|
|||
| ~~~~~~~~~~~~~~~~~~~
|
||||
help: disambiguate the method for candidate #3
|
||||
|
|
||||
LL | let z = FinalFoo::foo(x);
|
||||
| ~~~~~~~~~~~~~~~~
|
||||
LL | let z = FinalFoo::foo(&x);
|
||||
| ~~~~~~~~~~~~~~~~~
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:139:24
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue