fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
565 B19 linesraw
1error[E0308]: mismatched types
2  --> $DIR/nested-item-spans.rs:9:22
3   |
4LL |         let x: u32 = "x";
5   |                ---   ^^^ expected `u32`, found `&str`
6   |                |
7   |                expected due to this
8
9error[E0308]: mismatched types
10  --> $DIR/nested-item-spans.rs:18:22
11   |
12LL |         let x: u32 = "x";
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`.