Make queries more explicit
This commit is contained in:
parent
f90d702e66
commit
b60a6ad7f5
3 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ fn is_subtrait_of_any(cx: &LateContext<'_>, ty: Ty<'_>) -> bool {
|
|||
cx.tcx.is_diagnostic_item(sym::Any, tr.def_id)
|
||||
|| cx
|
||||
.tcx
|
||||
.super_predicates_of(tr.def_id)
|
||||
.explicit_super_predicates_of(tr.def_id)
|
||||
.predicates
|
||||
.iter()
|
||||
.any(|(clause, _)| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue