]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unboxed-closures/unboxed-closures-infer-argument-types-two-region-pointers.rs
3 // That a closure whose expected argument types include two distinct
8 fn doit
<T
,F
>(val
: T
, f
: &F
)
9 where F
: Fn(&Cell
<&T
>, &T
)
11 let x
= Cell
::new(&val
);
18 //~^ lifetime may not live long enough