]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unboxed-closures/issue-53448.rs
1 #![feature(unboxed_closures)]
6 impl<'a
> Lt
<'a
> for () {
11 let v
: <() as Lt
<'_
>>::T
= ();
12 let f
: &mut dyn FnMut
<(_
,), Output
= ()> = &mut |_
: <() as Lt
<'_
>>::T
| {}
;
13 //~^ ERROR: the size for values of type `<() as Lt<'_>>::T` cannot be known