summary refs log tree commit diff
path: root/src/test/compile-fail/ext-after-attrib.rs
blob: 1eea33bc2e9ffb685fb6b5314306878b0411f87c (plain)
1
2
3
4
5
6
7
// error-pattern:expecting '[' but found 'fmt'

// Don't know how to deal with a syntax extension appearing after an
// item attribute. Probably could use a better error message.
#[foo = "bar"]
#fmt("baz")
fn main() { }