PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/jruderman/rust
Rust | 7 lines | 3 code | 1 blank | 3 comment | 0 complexity | 9835265822ca51526ecf1d3b0d1768e8 MD5 | raw file
1// error-pattern:expected item but found `fmt`
2
3// Don't know how to deal with a syntax extension appearing after an
4// item attribute. Probably could use a better error message.
5#[foo = "bar"]
6fmt!{"baz"}
7fn main() { }