Skip to content

Commit d945c85

Browse files
compiler: Add track_caller to AbiMapping::unwrap
Same reason as it is on Option's.
1 parent cf42371 commit d945c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/abi_map.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ impl AbiMapping {
2929
}
3030
}
3131

32+
#[track_caller]
3233
pub fn unwrap(self) -> CanonAbi {
3334
self.into_option().unwrap()
3435
}

0 commit comments

Comments
 (0)