about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-05-08 15:14:21 -0700
committerCamelid <camelidcamel@gmail.com>2021-05-08 15:35:44 -0700
commit4b7c8b0b53c2bea54e9cd029c68ebdc6f668b1b8 (patch)
tree385715a68803d95420d07652fc14f3347faa2ff2 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentba13225ba1e3e94b5656181926cd38750eed1503 (diff)
downloadrust-4b7c8b0b53c2bea54e9cd029c68ebdc6f668b1b8.tar.gz
rust-4b7c8b0b53c2bea54e9cd029c68ebdc6f668b1b8.zip
Add `#[track_caller]` to `FakeDefId::expect_real()`
Now, in the case that the function is not inlined, the panic location
will be the caller's location, which is more helpful since the panic is
not `expect_real()`'s fault.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions