rust/src/test/ui/vector-no-ann.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

12 lines
330 B
Plaintext

error[E0282]: type annotations needed
--> $DIR/vector-no-ann.rs:13: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`.