]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.rs
1 struct Victim
<'a
, T
: Perpetrator
+ ?Sized
> {
8 fn get(self) -> Self::Ret
;
12 impl<'a
, T
: Perpetrator
/*+ ?Sized*/> VictimTrait
for Victim
<'a
, T
> {
14 fn get(self) -> Self::Ret
{
20 fn getter
<'a
>(&'a
self) -> Victim
<'a
, Self> {
29 //~^ ERROR the method `get` exists for struct `Victim<'_, Self>`, but its trait bounds were not satisfied