]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/missing-assoc-fn.rs
6 fn foo
<T
: TraitB
<Item
= A
>>(_
: T
) -> Self;
7 fn bar
<T
>(_
: T
) -> Self;
8 fn baz
<T
>(_
: T
) -> Self where T
: TraitB
, <T
as TraitB
>::Item
: Copy
;
9 fn bat
<T
: TraitB
<Item
: Copy
>>(_
: T
) -> Self; //~ ERROR associated type bounds are unstable
14 impl TraitA
<()> for S
{ //~ ERROR not all trait items implemented
17 use std
::iter
::FromIterator
;
19 impl FromIterator
<()> for X
{ //~ ERROR not all trait items implemented