Rename col! to column!.

This macro is very rarely used, so there is no need (and it is better)
for it to avoid the abbreviation.

Closes rust-lang/rfcs#467.

[breaking-change]
This commit is contained in:
Huon Wilson 2014-11-18 23:03:58 +11:00
parent 803aacd5ae
commit 3f3b2d6b7e
4 changed files with 10 additions and 10 deletions

View file

@ -25,7 +25,7 @@ macro_rules! indirect_line( () => ( line!() ) )
pub fn main() {
assert_eq!(line!(), 27);
//assert!((col!() == 11));
//assert!((column!() == 11));
assert_eq!(indirect_line!(), 29);
assert!((file!().ends_with("syntax-extension-source-utils.rs")));
assert_eq!(stringify!((2*3) + 5).to_string(), "( 2 * 3 ) + 5".to_string());