]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-2.rs
1 // Regression test for #81650
8 fn bar
<F
, T
>(&self, f
: F
)
10 F
: FnOnce(&Foo
<'a
>) -> T
,
19 fn func
<T
: Test
>(foo
: &Foo
, t
: T
) {
21 //~^ ERROR the parameter type `T` may not live long enough