about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-07 21:26:18 +0000
committerbors <bors@rust-lang.org>2023-12-07 21:26:18 +0000
commit4196675f44dd98596d638860d6707dcce52a37fd (patch)
treeb0a0100d37c4e360a309dd45fd01b3596b0094fe /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent49dd3804c0f61cee06abbca3dfb2df7b3a78bee6 (diff)
parentc11a002bca3c7b465ce21dcdbfffe18fd2a8c58c (diff)
downloadrust-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