compiler: Add track_caller to AbiMapping::unwrap

Same reason as it is on Option's.
This commit is contained in:
Jubilee Young
2025-06-05 23:09:28 -07:00
parent cf423712b9
commit d945c8562b

View File

@@ -29,6 +29,7 @@ impl AbiMapping {
} }
} }
#[track_caller]
pub fn unwrap(self) -> CanonAbi { pub fn unwrap(self) -> CanonAbi {
self.into_option().unwrap() self.into_option().unwrap()
} }