2017-12-10 13:47:55 -06:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/vector-no-ann.rs:13:16
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _foo = Vec::new();
|
2017-12-10 13:47:55 -06:00
|
|
|
| ---- ^^^^^^^^ cannot infer type for `T`
|
|
|
|
| |
|
|
|
|
| consider giving `_foo` a type
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0282`.
|