1 error[E0599]: no method named `pick` found for struct `Chaenomeles` in the current scope
2 --> $DIR/dont-wrap-ambiguous-receivers.rs:18:25
4 LL | pub struct Chaenomeles;
5 | ----------------------- method `pick` not found for this
7 LL | banana::Chaenomeles.pick()
8 | ^^^^ method not found in `Chaenomeles`
10 = help: items from traits can only be used if the trait is in scope
11 help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
13 LL | use banana::Apple;
15 LL | use banana::Peach;
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0599`.