提交 839a9de8 编写于 作者: F Flavio Percoco

Prefer other implementations over default ones

上级 a962d47e
......@@ -1273,6 +1273,10 @@ fn candidate_should_be_dropped_in_favor_of<'o>(&mut self,
// #18453.
true
}
(&DefaultTraitCandidate(_), _) => {
// Prefer other candidates over default implementations.
true
}
(&ProjectionCandidate, &ParamCandidate(_)) => {
// FIXME(#20297) -- this gives where clauses precedent
// over projections. Really these are just two means
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册