8 lines
124 B
Rust
8 lines
124 B
Rust
|
|
||
|
#![allow(dead_code)]
|
||
|
|
||
|
#[track_caller]
|
||
|
fn foo() {
|
||
|
let _location = std::panic::Location::caller();
|
||
|
}
|