fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: expected expression, found reserved identifier `_` 2 --> $DIR/issue-34334.rs:2:23 3 | 4LL | let sr: Vec<(u32, _, _) = vec![]; 5 | ^ expected expression 6 7error: expected expression, found reserved identifier `_` 8 --> $DIR/issue-34334.rs:2:26 9 | 10LL | let sr: Vec<(u32, _, _) = vec![]; 11 | ^ expected expression 12 13error: expected one of `,` or `>`, found `=` 14 --> $DIR/issue-34334.rs:2:29 15 | 16LL | let sr: Vec<(u32, _, _) = vec![]; 17 | --- ^ expected one of `,` or `>` here 18 | | | 19 | | help: use `=` if you meant to assign 20 | while parsing the type for `sr` 21 22error[E0423]: expected value, found struct `Vec` 23 --> $DIR/issue-34334.rs:2:13 24 | 25LL | let sr: Vec<(u32, _, _) = vec![]; 26 | ^^^ did you mean `Vec { /* fields */ }`? 27 28error[E0308]: mismatched types 29 --> $DIR/issue-34334.rs:2:31 30 | 31LL | let sr: Vec<(u32, _, _) = vec![]; 32 | ^^^^^^ expected bool, found struct `std::vec::Vec` 33 | 34 = note: expected type `bool` 35 found type `std::vec::Vec<_>` 36 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) 37 38error[E0070]: invalid left-hand side expression 39 --> $DIR/issue-34334.rs:2:13 40 | 41LL | let sr: Vec<(u32, _, _) = vec![]; 42 | ^^^^^^^^^^^^^^^^^^^^^^^^ left-hand of expression not valid 43 44error[E0599]: no method named `iter` found for type `()` in the current scope 45 --> $DIR/issue-34334.rs:9:36 46 | 47LL | let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect(); 48 | ^^^^ method not found in `()` 49 50error: aborting due to 7 previous errors 51 52Some errors have detailed explanations: E0070, E0308, E0423, E0599. 53For more information about an error, try `rustc --explain E0070`.