]>
git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/dont-wrap-ambiguous-receivers.rs
2 //~^ HELP the following traits are implemented but not in scope
3 pub struct Chaenomeles
;
8 impl Apple
for Chaenomeles {}
11 fn pick(&self, a
: &mut ()) {}
13 impl<Mango
: Peach
> Peach
for Box
<Mango
> {}
14 impl Peach
for Chaenomeles {}
18 banana
::Chaenomeles
.pick()
19 //~^ ERROR no method named
20 //~| HELP items from traits can only be used if the trait is in scope