compiler: Add track_caller to AbiMapping::unwrap
Same reason as it is on Option's.
This commit is contained in:
parent
cf423712b9
commit
d945c8562b
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ impl AbiMapping {
|
|||
}
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
pub fn unwrap(self) -> CanonAbi {
|
||||
self.into_option().unwrap()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue