You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think implementing distinctso that you can collect only the different items could be a good way to start solving this in the board way (all across scala error reporting).
The text was updated successfully, but these errors were encountered:
Because of type inference, duplicate obligations exist and cause duplicate
errors. To avoid this, only display the first error for each (predicate,span).
The inclusion of the span is somewhat bikesheddy, but *is* the more
conservative option (it does not remove some instability, as duplicate
obligations are ignored by `duplicate_set` under some inference conditions).
Fixesrust-lang#28098
cc rust-lang#21528 (is it a dupe?)
It seems that #20692 is not only a case for duplicate error messages as shown by
Which print the error 3 times.
It is the same as the other case about map
rust/src/librustc/middle/traits/object_safety.rs
Lines 78 to 85 in 7ae4a8e
originally spot at https://users.rust-lang.org/t/iterator-and-differences-between-array-and-array/2672
I think implementing
distinct
so that you can collect only the different items could be a good way to start solving this in the board way (all across scala error reporting).The text was updated successfully, but these errors were encountered: