mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 00:16:43 +00:00
Add `#[track_caller]` to lint related diagnostic functions This fixes locations reported by `-Ztrack-diagnostics`.
For more information about how rustc works, see the rustc dev guide.