mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 12:07:08 +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.