Make queries more explicit
This commit is contained in:
parent
036b38ced3
commit
81c2c57519
22 changed files with 68 additions and 59 deletions
|
@ -45,7 +45,7 @@ impl<'tcx> LateLintPass<'tcx> for MultipleSupertraitUpcastable {
|
|||
{
|
||||
let direct_super_traits_iter = cx
|
||||
.tcx
|
||||
.super_predicates_of(def_id)
|
||||
.explicit_super_predicates_of(def_id)
|
||||
.predicates
|
||||
.into_iter()
|
||||
.filter_map(|(pred, _)| pred.as_trait_clause());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue