blob: 4d5b93797e6e78cdd94b686b6ca9aea954f8c3c5 [file] [log] [blame]
//@ proc-macro: attribute-spans-preserved.rs
extern crate attribute_spans_preserved as foo;
use foo::foo;
#[ foo ( let y: u32 = "z"; ) ] //~ ERROR: mismatched types
#[ bar { let x: u32 = "y"; } ] //~ ERROR: mismatched types
fn main() {
}