]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/regions/regions-implied-bounds-projection-gap-2.rs
1 // Along with the other tests in this series, illustrates the
2 // "projection gap": in this test, we know that `T: 'x`, and that is
3 // enough to conclude that `T::Foo: 'x`.
7 #![allow(unused_variables)]
13 // calling this fn should trigger a check that the type argument
14 // supplied is well-formed.
17 fn func
<'x
, T
:Trait1
<'x
>>(t
: &'x T
)