Macro pos

Source
macro_rules! pos {
    () => { ... };
}
Expand description

Expands to the pos on which it was invoked.

§See

§Examples

let current_pos = pos!();
println!("defined on pos: {}", current_pos);