mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
b8c829b64f
Add `track_caller` to `DefId::expect_local()` Suggested in https://github.com/rust-lang/rust/issues/96738#issuecomment-1118961888. `DefId::expect_local()` often causes ICEs (panics) and should be a good candidate to add `track_caller`.