]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/closures/closure-no-fn-5.rs
1 // When providing diagnostics about not being able to coerce a capturing-closure
2 // to fn type, we want to report only upto 4 captures.
10 let bar
: fn() -> u8 = || { a; b; c; d; e }
;
11 //~^ ERROR mismatched types