about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/usefulness.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-03 22:25:14 +0100
committerGitHub <noreply@github.com>2024-02-03 22:25:14 +0100
commit6f24836a5bc2a9e894b864666b1ea9b30ffbbc99 (patch)
tree02c2b3dbc559a5ef6c5645a67a8c3d037ca511bc /compiler/rustc_pattern_analysis/src/usefulness.rs
parentb11fbfbf351b94c7eecf9e6749a4544a6d4717fa (diff)
parenta97ff2a750edf9ba4a9cdfd72f419f6836fe6b2d (diff)
downloadrust-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