mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
672d370764
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.