]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/ty-outlives/projection-where-clause-trait.rs
1 // Test that we are able to establish that `<T as
2 // MyTrait<'a>>::Output: 'a` outlives `'a` (because the trait says
11 fn foo
<'a
, T
>() -> &'
a ()
18 fn bar
<'a
, T
>() -> &'
a ()