Intern OpaqueTy on ItemKind::OpaqueTy
This commit is contained in:
parent
72a32583d1
commit
d70deac161
9 changed files with 9 additions and 9 deletions
|
@ -556,7 +556,7 @@ impl<'a, 'tcx> Visitor<'tcx> for BoundVarContext<'a, 'tcx> {
|
|||
});
|
||||
}
|
||||
}
|
||||
hir::ItemKind::OpaqueTy(hir::OpaqueTy {
|
||||
hir::ItemKind::OpaqueTy(&hir::OpaqueTy {
|
||||
origin: hir::OpaqueTyOrigin::FnReturn(parent) | hir::OpaqueTyOrigin::AsyncFn(parent),
|
||||
generics,
|
||||
..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue