1 error[E0308]: mismatched types
2 --> $DIR/attribute-spans-preserved.rs:7:23
4 LL | #[ foo ( let y: u32 = "z"; ) ]
5 | --- ^^^ expected `u32`, found `&str`
9 error[E0308]: mismatched types
10 --> $DIR/attribute-spans-preserved.rs:8:23
12 LL | #[ bar { let x: u32 = "y"; } ]
13 | --- ^^^ expected `u32`, found `&str`
15 | expected due to this
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0308`.