diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-06-05 23:09:28 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-06-05 23:09:31 -0700 |
| commit | d945c8562b49df98af25ed43b41bdbc59b8385cc (patch) | |
| tree | f716ee0651de67309bdbdea0f90c2e907d3ba554 | |
| parent | cf423712b9e95e9f6ec84b1ecb3d125e55ac8d56 (diff) | |
| download | rust-d945c8562b49df98af25ed43b41bdbc59b8385cc.tar.gz rust-d945c8562b49df98af25ed43b41bdbc59b8385cc.zip | |
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() } |
