]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #88851 - fee1-dead:dup-bound, r=oli-obk
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 13 Sep 2021 19:20:39 +0000 (21:20 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Sep 2021 19:20:39 +0000 (21:20 +0200)
commita9bc2ef89424091b435d7fb50343d64d6f05c9a3
tree4b0af60aae848bb02e457206cee63e506654e0d6
parent5eb77838eaa414319dfb50e57cb9d7b459aa0341
parenta0b83f542f91699838c65d772b0eb6aeb276fb67
Rollup merge of #88851 - fee1-dead:dup-bound, r=oli-obk

Fix duplicate bounds for const_trait_impl

Fixes #88383.

Compare the constness of the candidates before winnowing and removing a `~const` `BoundCandidate`.
compiler/rustc_trait_selection/src/traits/select/mod.rs