fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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