blob: 01b569f97f91073b83ecdc8a3d5bd55eb79c6544 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0282]: type annotations needed
--> $DIR/vector-no-ann.rs:2:16
|
LL | let _foo = Vec::new();
| ---- ^^^^^^^^ cannot infer type for `T`
| |
| consider giving `_foo` a type
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|