[][src]Macro srcpos::pos

macro_rules! pos {
    () => { ... };
}

Expands to the pos on which it was invoked.

See

Examples

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