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
fee1-dead
changed the title
Duplicate bounds behaves differently depending on their order for const_trait_impl
Duplicate bounds behave differently depending on their order for const_trait_impl
Aug 27, 2021
Fix duplicate bounds for const_trait_impl
Fixesrust-lang#88383.
Compare the constness of the candidates before winnowing and removing a `~const` `BoundCandidate`.
Fix duplicate bounds for const_trait_impl
Fixesrust-lang#88383.
Compare the constness of the candidates before winnowing and removing a `~const` `BoundCandidate`.
Fix duplicate bounds for const_trait_impl
Fixesrust-lang#88383.
Compare the constness of the candidates before winnowing and removing a `~const` `BoundCandidate`.
I tried this code:
I expected to see this happen: It should be the same as
Instead, this happened: It errors for the former but does not error for the second example.
@rustbot label F-const_trait_impl
See https://github.com/rust-lang/rust/pull/88328/files#r697229693
The text was updated successfully, but these errors were encountered: