2023-01-22 12:04:41 +01:00

8 lines
124 B
Rust

#![allow(dead_code)]
#[track_caller]
fn foo() {
let _location = std::panic::Location::caller();
}