diff options
| author | bors <bors@rust-lang.org> | 2023-12-07 21:26:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-07 21:26:18 +0000 |
| commit | 4196675f44dd98596d638860d6707dcce52a37fd (patch) | |
| tree | b0a0100d37c4e360a309dd45fd01b3596b0094fe /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | 49dd3804c0f61cee06abbca3dfb2df7b3a78bee6 (diff) | |
| parent | c11a002bca3c7b465ce21dcdbfffe18fd2a8c58c (diff) | |
| download | rust-4196675f44dd98596d638860d6707dcce52a37fd.tar.gz rust-4196675f44dd98596d638860d6707dcce52a37fd.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
