summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/attribute-spans-preserved.rs
blob: c01fce90593babeba2f19fdab2aebdf8e4f5e2c6 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build: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() {
}