mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 21:31:32 +00:00

When a trait bound error occurs, we look for alternative types that would have made the bound succeed. For some reason `{type error}` sometimes would appear as a type that would do so. We now remove `{type error}` from the list in every case to avoid nonsensical `note`s.