]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #88139 - lcnr:marker-trait-attr, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 22 Aug 2021 10:44:38 +0000 (10:44 +0000)
committerbors <bors@rust-lang.org>
Sun, 22 Aug 2021 10:44:38 +0000 (10:44 +0000)
commit1eb187c16ec4f26fdeaff527e3ba2b1e609cabd2
tree18f682ff9ed72b38d477b84cbbe7145a5a145ce5
parent80dad6477520553899049c994a6f534dce5a4951
parent3329f67f173028bc41165894611ef54cab2c1438
Auto merge of #88139 - lcnr:marker-trait-attr, r=nikomatsakis

marker_traits: require `EvaluatedToOk` during winnowing

closes #84955, while it doesn't really fix it in a way that makes me happy it should prevent the issue for now and this
test can't be reproduced anyways, so it doesn't make much sense to keep it open.

fixes #84917 as only one of the impls depends on regions, so we now drop the ambiguous one instead of the correct one.

cc https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-traits/topic/winnowing.20soundly/near/247899832

r? `@nikomatsakis`
compiler/rustc_trait_selection/src/traits/select/mod.rs