std::macros::builtin::col![src]
macro_rules! col( () => ({ /* compiler built-in */ }) )
A macro which expands to the column number on which it was invoked.
The expanded expression has type uint, and the returned column is not
the invocation of the col!() macro itself, but rather the first macro
invocation leading up to the invocation of the col!() macro.
Example
fn main() { let current_col = col!(); println!("defined on column: {}", current_col); }let current_col = col!(); println!("defined on column: {}", current_col);