diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-12-21 19:08:30 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-21 19:08:30 +0000 |
| commit | 70fe5a150d2aa28e704a30a6ce8c2219e4b98583 (patch) | |
| tree | d5c7bc46362e035b2a0bd7f14a7274045e04b884 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 9e136a30a965bf4e63f03095c57df7257bf96fd6 (diff) | |
| download | rust-70fe5a150d2aa28e704a30a6ce8c2219e4b98583.tar.gz rust-70fe5a150d2aa28e704a30a6ce8c2219e4b98583.zip | |
Avoid ICE in borrowck
Provide a fallback in `best_blame_constraint` when `find_constraint_paths_between_regions` doesn't have a result. This code is due a rework to avoid the letf-over `unwrap()`, but avoids the ICE caused by the repro. Fix #133252.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
