diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-03 22:25:14 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 22:25:14 +0100 | 
| commit | 6f24836a5bc2a9e894b864666b1ea9b30ffbbc99 (patch) | |
| tree | 02c2b3dbc559a5ef6c5645a67a8c3d037ca511bc /compiler/rustc_pattern_analysis/src/usefulness.rs | |
| parent | b11fbfbf351b94c7eecf9e6749a4544a6d4717fa (diff) | |
| parent | a97ff2a750edf9ba4a9cdfd72f419f6836fe6b2d (diff) | |
| download | rust-6f24836a5bc2a9e894b864666b1ea9b30ffbbc99.tar.gz rust-6f24836a5bc2a9e894b864666b1ea9b30ffbbc99.zip | |
Rollup merge of #120484 - Teapot4195:issue-120480-fix, r=compiler-errors
Avoid ICE when is_val_statically_known is not of a supported type 2 ICE with 1 stone! 1. Implement `llvm.is.constant.ptr` to avoid first ICE in linked issue. 2. return `false` when the argument is not one of `i*`/`f*`/`ptr` to avoid second ICE. fixes #120480
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/usefulness.rs')
0 files changed, 0 insertions, 0 deletions
