1
Fork 0

More polishing

This commit is contained in:
Michael Goulet 2024-04-04 20:36:18 -04:00
parent 52c6b101ea
commit ac7651ccaf
12 changed files with 79 additions and 5 deletions

View file

@ -283,6 +283,7 @@ pub fn suggest_new_region_bound(
continue;
}
match fn_return.kind {
// FIXME(precise_captures): Suggest adding to `use<...>` list instead.
TyKind::OpaqueDef(item_id, _, _) => {
let item = tcx.hir().item(item_id);
let ItemKind::OpaqueTy(opaque) = &item.kind else {