1
Fork 0

add EarlyBinder to output of explicit_item_bounds; replace bound_explicit_item_bounds usages; remove bound_explicit_item_bounds query

This commit is contained in:
Kyle Matsuda 2023-04-17 16:43:46 -06:00
parent 0892a7380b
commit f3b279fcc5
26 changed files with 49 additions and 56 deletions

View file

@ -257,7 +257,7 @@ impl<'tcx> LateLintPass<'tcx> for UnusedResults {
elaborate(
cx.tcx,
cx.tcx
.bound_explicit_item_bounds(def)
.explicit_item_bounds(def)
.transpose_iter()
.map(|bound| bound.map_bound(|b| *b).subst_identity()),
)