rust-analyzer/crates/hir-ty
bors 4196675f44 Auto merge of #16045 - HKalbasi:rustc-tests-fixup, r=HKalbasi
Fix panic with closure inside array len

I was working on #15947 and found out that we panic on this test:
```
fn main() {
    let x = [(); &(&'static: loop { |x| {}; }) as *const _ as usize]
}
```
This PR fixes the panic. Closures in array len are still broken, but closure in const eval is not stable anyway.
2023-12-07 21:26:18 +00:00
..
src Auto merge of #16045 - HKalbasi:rustc-tests-fixup, r=HKalbasi 2023-12-07 21:26:18 +00:00
Cargo.toml Bump chalk 2023-11-25 20:38:11 +02:00