]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-tuple.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / parser / recover-tuple.stderr
1 error: expected expression, found `.`
2   --> $DIR/recover-tuple.rs:3:40
3    |
4 LL |     let x: (usize, usize, usize) = (3, .=.);
5    |                                        ^ expected expression
6
7 error[E0308]: mismatched types
8   --> $DIR/recover-tuple.rs:6:20
9    |
10 LL |     let y: usize = "";
11    |                    ^^ expected usize, found &str
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0308`.