Skip to content

Commit f00b6ac

Browse files
committed
More rebinds
1 parent 8e9a538 commit f00b6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/await_holding_invalid.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl LateLintPass<'_> for AwaitHolding {
9999
};
100100
let def_id = cx.tcx.hir().body_owner_def_id(body_id);
101101
let typeck_results = cx.tcx.typeck(def_id);
102-
check_interior_types(cx, &typeck_results.generator_interior_types, body.value.span);
102+
check_interior_types(cx, &typeck_results.generator_interior_types.as_ref().skip_binder(), body.value.span);
103103
}
104104
}
105105
}

0 commit comments

Comments
 (0)