debug_fatal_at

Macro debug_fatal_at 

Source
macro_rules! debug_fatal_at {
    ($location:expr, $msg:literal $(, $arg:expr)*) => { ... };
}
Expand description

Like debug_fatal!, but records $location (a &str) as the system_invariant_violations metric label instead of the macro’s own file!():line!(). Use this when forwarding a caller-supplied location (e.g. from #[track_caller] + Location::caller()) so the metric points at the user’s call site rather than the wrapper.