mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
5d131407da
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`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |