diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-06-08 17:17:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-08 17:17:54 -0700 |
| commit | ed61e50224f2ff01714082c03bf867d3a18f8881 (patch) | |
| tree | 8a959173dca7a89420dd680a608fad18d7032f43 | |
| parent | 41bc5d7f7327d0fe3545c600b0279dda534ab06a (diff) | |
| parent | d945c8562b49df98af25ed43b41bdbc59b8385cc (diff) | |
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.
| -rw-r--r-- | compiler/rustc_target/src/spec/abi_map.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/abi_map.rs b/compiler/rustc_target/src/spec/abi_map.rs index d9101f79f04..be94e18dc39 100644 --- a/compiler/rustc_target/src/spec/abi_map.rs +++ b/compiler/rustc_target/src/spec/abi_map.rs @@ -29,6 +29,7 @@ impl AbiMapping { } } + #[track_caller] pub fn unwrap(self) -> CanonAbi { self.into_option().unwrap() } |
