fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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