]>
git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/suggest-closure-return-type-2.rs
1 fn unbound_drop(_
: impl Sized
) {}
4 unbound_drop(|| { [] }
)
5 //~^ ERROR type annotations needed for `[_; 0]`
6 //~| HELP try giving this closure an explicit return type