about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-06-16 14:46:15 +0530
committerGitHub <noreply@github.com>2023-06-16 14:46:15 +0530
commit64f6c00772321324d77dfd8a0ee708fbb0d9a277 (patch)
treebf5761fe7042f156c7b39836c99faeee00c64907 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentb41db841e8fe01af6b1f2d17a25a2704950b937f (diff)
parent01377e8064a5b3d987b177c16e18da4bffec03a4 (diff)
downloadrust-64f6c00772321324d77dfd8a0ee708fbb0d9a277.tar.gz
rust-64f6c00772321324d77dfd8a0ee708fbb0d9a277.zip
Rollup merge of #112443 - compiler-errors:next-solver-opportunistically-resolve-regions, r=lcnr
Opportunistically resolve regions in new solver

Use `opportunistic_resolve_var` during canonicalization to collapse some regions.

We have to start using `CanonicalVarValues::is_identity_modulo_regions`. We also have to modify that function to consider responses like `['static, ^0, '^1, ^2]` to be an "identity" response, since because we opportunistically resolve regions, there's no longer a 1:1 mapping between canonical var values and bound var indices in the response...

There's one nasty side-effect -- one test (`tests/ui/dyn-star/param-env-infer.rs`) starts to ICE because the certainty goes from `Yes` to `Maybe(Overflow)`... Not exactly sure why, though? Putting this up for discussion/investigation.

r? ```@lcnr```
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions