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

// 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() { }