More rebinds
This commit is contained in:
parent
8e9a538ae1
commit
f00b6ac24e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ impl LateLintPass<'_> for AwaitHolding {
|
|||
};
|
||||
let def_id = cx.tcx.hir().body_owner_def_id(body_id);
|
||||
let typeck_results = cx.tcx.typeck(def_id);
|
||||
check_interior_types(cx, &typeck_results.generator_interior_types, body.value.span);
|
||||
check_interior_types(cx, &typeck_results.generator_interior_types.as_ref().skip_binder(), body.value.span);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue