mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-06 16:12:25 +00:00
Use #[track_caller] in const panic diagnostics. This change stops const panic diagnostics from reporting inside #[track_caller] functions by skipping over them.