mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 21:54:16 +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.