More polishing
This commit is contained in:
parent
52c6b101ea
commit
ac7651ccaf
12 changed files with 79 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue