]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/assoc-type-lifetime.rs
1 // Tests that we still detect defining usages when
2 // lifetimes are used in an associated opaque type
5 #![feature(type_alias_impl_trait)]
9 fn unwrap_items(self) -> Self::Iter
;
16 impl<'a
> MyTrait
<'a
> for MyStruct {}
18 impl<'a
, I
> UnwrapItemsExt
for I
21 type Iter
= impl MyTrait
<'a
>;
23 fn unwrap_items(self) -> Self::Iter
{