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
514 B17 linesraw
1error: expected expression, found `.`
2  --> $DIR/recover-tuple.rs:3:40
3   |
4LL |     let x: (usize, usize, usize) = (3, .=.);
5   |                                        ^ expected expression
6
7error[E0308]: mismatched types
8  --> $DIR/recover-tuple.rs:6:20
9   |
10LL |     let y: usize = "";
11   |            -----   ^^ expected `usize`, found `&str`
12   |            |
13   |            expected due to this
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0308`.