From c17c17696d80c45eef6827680d890a35fa8b9372 Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Thu, 9 May 2024 14:45:53 -0300 Subject: [PATCH] fix GAT CoreArrayWrapper impl --- rust/src/debuginfo.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs index a09e0c674..2b3a2cd06 100644 --- a/rust/src/debuginfo.rs +++ b/rust/src/debuginfo.rs @@ -281,10 +281,10 @@ unsafe impl CoreOwnedArrayProvider for DebugInfoParser { } } -unsafe impl<'a> CoreArrayWrapper<'a> for DebugInfoParser { - type Wrapped = Guard<'a, DebugInfoParser>; +unsafe impl CoreArrayWrapper for DebugInfoParser { + type Wrapped<'a> = Guard<'a, DebugInfoParser>; - unsafe fn wrap_raw(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped { + unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped<'a> { Guard::new(DebugInfoParser { handle: *raw }, &()) } }