diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-26 23:15:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-26 23:15:51 +0100 |
| commit | 8ec883856d73ccfc72ccf907cc8c361dc66e65f3 (patch) | |
| tree | e1bfc096855572c30f9e4bf9d3b81a5a3a8d0303 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 975a82b4e2f6faff274b9a4ae4a1f5fa9315d265 (diff) | |
| parent | 866364cc5d79b26ec1ab58eca0cc4c3416b5a1bc (diff) | |
| download | rust-8ec883856d73ccfc72ccf907cc8c361dc66e65f3.tar.gz rust-8ec883856d73ccfc72ccf907cc8c361dc66e65f3.zip | |
Rollup merge of #120277 - compiler-errors:normalize-before-validating, r=oli-obk
Normalize field types before checking validity I forgot to normalize field types when checking ADT-like aggregates in the MIR validator. This normalization is needed due to a crude check for opaque types in `mir_assign_valid_types` which prevents opaque type cycles -- if we pass in an unnormalized type, we may not detect that the destination type is an opaque, and therefore will call `type_of(opaque)` later on, which causes a cycle error -> ICE. Fixes #120253
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
