]> git.proxmox.com Git - rustc.git/blame - src/test/ui/vector-no-ann.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / vector-no-ann.stderr
CommitLineData
72b1a166 1error[E0282]: type annotations needed for `Vec<T>`
0731742a 2 --> $DIR/vector-no-ann.rs:2:16
ff7c6d11 3 |
0531ce1d 4LL | let _foo = Vec::new();
d9bb1a4e 5 | ---- ^^^^^^^^ cannot infer type for type parameter `T`
ff7c6d11 6 | |
72b1a166 7 | consider giving `_foo` the explicit type `Vec<T>`, where the type parameter `T` is specified
ff7c6d11
XL
8
9error: aborting due to previous error
10
0531ce1d 11For more information about this error, try `rustc --explain E0282`.