]> git.proxmox.com Git - rustc.git/blame - src/test/ui/array-slice-vec/vector-no-ann.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / array-slice-vec / vector-no-ann.stderr
CommitLineData
1b1a35ee 1error[E0282]: type annotations needed for `Vec<T>`
923072b8 2 --> $DIR/vector-no-ann.rs:2:9
ff7c6d11 3 |
0531ce1d 4LL | let _foo = Vec::new();
923072b8
FG
5 | ^^^^
6 |
7help: consider giving `_foo` an explicit type, where the type for type parameter `T` is specified
8 |
9LL | let _foo: Vec<T> = Vec::new();
10 | ++++++++
ff7c6d11
XL
11
12error: aborting due to previous error
13
0531ce1d 14For more information about this error, try `rustc --explain E0282`.