1
Fork 0

Rework print_disambiguation_help

This commit is contained in:
Michael Goulet 2023-11-07 05:22:20 +00:00
parent 88a37acb26
commit 0add056dee
8 changed files with 93 additions and 113 deletions

View file

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