Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information