Skip to content

Commit 1f092aa

Browse files
authored
Unrolled build for #142108
Rollup merge of #142108 - workingjubilee:track-caller-in-abi-map, r=jieyouxu compiler: Add track_caller to AbiMapping::unwrap Same reason as it is on Option's.
2 parents c31cccb + d945c85 commit 1f092aa

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)