fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0308]: mismatched types 2 --> $DIR/attribute-spans-preserved.rs:7:23 3 | 4LL | #[ foo ( let y: u32 = "z"; ) ] 5 | ^^^ expected u32, found reference 6 | 7 = note: expected type `u32` 8 found type `&'static str` 9 10error[E0308]: mismatched types 11 --> $DIR/attribute-spans-preserved.rs:8:23 12 | 13LL | #[ bar { let x: u32 = "y"; } ] 14 | ^^^ expected u32, found reference 15 | 16 = note: expected type `u32` 17 found type `&'static str` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.