summaryrefslogtreecommitdiff
path: root/rust/src/debuginfo.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-05-09 14:45:53 -0300
committerKyle Martin <krm504@nyu.edu>2024-05-09 14:00:01 -0400
commit1c8f34656584396cecca0afcb19e9bb784cad6e4 (patch)
tree2f2ef73659a35abbf2fcc9527028555805792b08 /rust/src/debuginfo.rs
parentc528f3ad0e1abd4168b1507e8c30bc14c4a6a736 (diff)
fix GAT CoreArrayWrapper impl
Diffstat (limited to 'rust/src/debuginfo.rs')
-rw-r--r--rust/src/debuginfo.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs
index a09e0c67..2b3a2cd0 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 }, &())
}
}