]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | // aux-build:attribute-spans-preserved.rs |
0531ce1d | 2 | |
8faf50e0 | 3 | extern crate attribute_spans_preserved as foo; |
0531ce1d | 4 | |
8faf50e0 | 5 | use foo::foo; |
0531ce1d | 6 | |
8faf50e0 | 7 | #[ foo ( let y: u32 = "z"; ) ] //~ ERROR: mismatched types |
b7449926 | 8 | #[ bar { let x: u32 = "y"; } ] //~ ERROR: mismatched types |
8faf50e0 | 9 | fn main() { |
54a0048b | 10 | } |