Intern OpaqueTy on ItemKind::OpaqueTy
This commit is contained in:
parent
72a32583d1
commit
d70deac161
9 changed files with 9 additions and 9 deletions
|
@ -299,7 +299,7 @@ pub(super) fn check_opaque_for_inheriting_lifetimes(
|
|||
}
|
||||
}
|
||||
|
||||
if let ItemKind::OpaqueTy(hir::OpaqueTy {
|
||||
if let ItemKind::OpaqueTy(&hir::OpaqueTy {
|
||||
origin: hir::OpaqueTyOrigin::AsyncFn(..) | hir::OpaqueTyOrigin::FnReturn(..),
|
||||
in_trait,
|
||||
..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue