rust/src/test/compile-fail/ext-after-attrib.rs

7 lines
219 B
Rust
Raw Normal View History

// error-pattern:expected item but found `fmt`
2011-07-27 07:48:34 -05:00
// Don't know how to deal with a syntax extension appearing after an
// item attribute. Probably could use a better error message.
#[foo = "bar"]
2012-08-22 19:24:52 -05:00
fmt!("baz")
2011-07-27 07:48:34 -05:00
fn main() { }