mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
Add regression test for closure in array-length const generic Adds a regression test for rust-lang/rust#119316 The MCVE (a closure inside an array-length const in a generic async fn) used to ICE with "expected type of closure to be a closure". It's since been fixed and just emits ordinary errors now, so this adds a UI test to lock that in. Closes rust-lang/rust#119316