summary refs log tree commit diff
path: root/src/test/ui/vector-no-ann.stderr
blob: e788ea125ad40cd35c5065d8d06ba2ca3854d684 (plain)
1
2
3
4
5
6
7
8
9
10
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