mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 23:07:22 +00:00
We can instead if either the LHS or RHS types contain `TyKind::Error`. In addition to covering the case where we would have previously updated `if_let_suggestions`, this might also prevent redundant errors in other cases as well.