diff options
| author | Michael Howell <michael@notriddle.com> | 2022-10-08 18:14:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-08 18:14:59 -0700 |
| commit | bf37054b1ff25e42c077e5b52c6dc492125d8f91 (patch) | |
| tree | 34a39d7ff4ea1c6cd2265cbb2f71b870ab75103c /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | f382c2748aec2ada91eff88840c996644ff0f70d (diff) | |
| parent | fc3d7eb91dcea2f77a51368681dd2674b232a426 (diff) | |
| download | rust-bf37054b1ff25e42c077e5b52c6dc492125d8f91.tar.gz rust-bf37054b1ff25e42c077e5b52c6dc492125d8f91.zip | |
Rollup merge of #99818 - aliemjay:fix-closure-normalize, r=jackh726
don't ICE when normalizing closure input tys We were ICEing while rendering diagnostics because `universe_causes` is expected to track every universe created in the typeck's infcx. `normalize_and_add_constraints` doesn't update `universe_causes` when creating new universes, causing an ICE. Remove it! Add spans to better track normalization constraints. Fix couple places where `universe_causes` is not updated correctly to track newly added universes. Fixes #102800 ~Fixess #99665~ (UPDATE: no longer true; the issue has a different failure path than when this PR was created and should be fixed by #101708, but the changes in this PR are still correct and should prevent potential future ICEs)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
