]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/attribute-spans-preserved.rs
Rollup merge of #104158 - Ayush1325:executable, r=Mark-Simulacrum
[rust.git] / src / test / ui / proc-macro / attribute-spans-preserved.rs
1 // aux-build:attribute-spans-preserved.rs
2
3 extern crate attribute_spans_preserved as foo;
4
5 use foo::foo;
6
7 #[ foo ( let y: u32 = "z"; ) ] //~ ERROR: mismatched types
8 #[ bar { let x: u32 = "y"; } ] //~ ERROR: mismatched types
9 fn main() {
10 }