compiler: Add track_caller to AbiMapping::unwrap
Same reason as it is on Option's.
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user