about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-13 06:41:23 +0100
committerGitHub <noreply@github.com>2024-03-13 06:41:23 +0100
commit5d131407daea78c0490e6958d84dd69447fae8a6 (patch)
tree752a44c87f7f88457e96aebb1099cab080231814 /compiler/rustc_interface/src
parente42a7024305417e516a1dd9cf58eff3d5af62c69 (diff)
parent96b8225d8dd971bc2ecc7aa12068adcda9a9f20f (diff)
downloadrust-5d131407daea78c0490e6958d84dd69447fae8a6.tar.gz
rust-5d131407daea78c0490e6958d84dd69447fae8a6.zip
Rollup merge of #122360 - veera-sivarajan:bugfix-121941, r=compiler-errors
 Don't Create `ParamCandidate` When Obligation Contains Errors

Fixes #121941

I'm not sure if I understand this correctly but this bug was caused by an error type incorrectly matching against `ParamCandidate`. This was introduced by the changes made in #72621 (figured using cargo-bisect-rustc).

This PR fixes it by skipping `ParamCandidate` generation when an error type is involved. Also, this is similar to #73005 but addresses `ParamCandidate` instead of `ImplCandidate`.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions