blob: 4d5b93797e6e78cdd94b686b6ca9aea954f8c3c5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//@ 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() {
}
|