2019-03-26 17:36:07 -07:00
|
|
|
error: expected expression, found reserved identifier `_`
|
|
|
|
--> $DIR/issue-34334.rs:2:23
|
|
|
|
|
|
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
|
|
|
| ^ expected expression
|
|
|
|
|
2019-08-08 12:31:24 -07:00
|
|
|
error: expected expression, found reserved identifier `_`
|
|
|
|
--> $DIR/issue-34334.rs:2:26
|
|
|
|
|
|
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
|
|
|
| ^ expected expression
|
|
|
|
|
2018-07-15 14:11:54 -07:00
|
|
|
error: expected one of `,` or `>`, found `=`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-34334.rs:2:29
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
2019-10-28 11:08:53 -07:00
|
|
|
| --- ^ expected one of `,` or `>`
|
2019-03-26 17:36:07 -07:00
|
|
|
| | |
|
|
|
|
| | help: use `=` if you meant to assign
|
2018-07-15 14:11:54 -07:00
|
|
|
| while parsing the type for `sr`
|
|
|
|
|
2019-03-26 17:36:07 -07:00
|
|
|
error[E0423]: expected value, found struct `Vec`
|
|
|
|
--> $DIR/issue-34334.rs:2:13
|
|
|
|
|
|
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
2020-07-09 17:42:07 -07:00
|
|
|
| ^^^ help: use struct literal syntax instead: `Vec { buf: val, len: val }`
|
2019-03-26 17:36:07 -07:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-34334.rs:2:31
|
|
|
|
|
|
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
2019-11-15 09:37:01 -08:00
|
|
|
| ^^^^^^ expected `bool`, found struct `std::vec::Vec`
|
2019-03-26 17:36:07 -07:00
|
|
|
|
|
|
|
|
= note: expected type `bool`
|
2019-11-13 14:16:56 -08:00
|
|
|
found struct `std::vec::Vec<_>`
|
2019-12-16 15:56:47 +02:00
|
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-03-26 17:36:07 -07:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2019-12-22 21:08:53 +00:00
|
|
|
--> $DIR/issue-34334.rs:2:29
|
2019-03-26 17:36:07 -07:00
|
|
|
|
|
|
|
|
LL | let sr: Vec<(u32, _, _) = vec![];
|
2019-12-22 21:08:53 +00:00
|
|
|
| --------------- ^
|
2019-12-22 18:42:15 +00:00
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2019-03-26 17:36:07 -07:00
|
|
|
|
2020-01-08 08:05:31 -08:00
|
|
|
error[E0599]: no method named `iter` found for unit type `()` in the current scope
|
2019-08-08 12:31:24 -07:00
|
|
|
--> $DIR/issue-34334.rs:9:36
|
2019-03-26 17:36:07 -07:00
|
|
|
|
|
|
|
|
LL | let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect();
|
2019-09-06 12:00:07 -07:00
|
|
|
| ^^^^ method not found in `()`
|
2019-03-26 17:36:07 -07:00
|
|
|
|
2019-08-08 12:31:24 -07:00
|
|
|
error: aborting due to 7 previous errors
|
2018-07-15 14:11:54 -07:00
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
Some errors have detailed explanations: E0070, E0308, E0423, E0599.
|
2019-03-26 17:36:07 -07:00
|
|
|
For more information about an error, try `rustc --explain E0070`.
|