10 lines
262 B
Text
10 lines
262 B
Text
error[E0282]: type annotations needed
|
|
--> $DIR/vector-no-ann.rs:13:16
|
|
|
|
|
13 | let _foo = Vec::new();
|
|
| ---- ^^^^^^^^ cannot infer type for `T`
|
|
| |
|
|
| consider giving `_foo` a type
|
|
|
|
error: aborting due to previous error
|
|
|