14c5900a70
I don't currently know how to deal with syntax extensions that appear betweeen an attribute and an item, so this test captures the error that occurs. Issue #487
8 lines
229 B
Rust
8 lines
229 B
Rust
// xfail-stage0
|
|
// error-pattern:expecting \[, 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() { } |