2018-02-07 19:35:35 -08:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/E0282.rs:12:9
|
|
|
|
|
|
|
|
|
12 | let x = "hello".chars().rev().collect(); //~ ERROR E0282
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| cannot infer type for `_`
|
|
|
|
| consider giving `x` a type
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0282"
|