summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/missing-let-in-binding-2.stderr
blob: 2e10125943e7577734eda243ce4dae85c61c0408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found `:`
  --> $DIR/missing-let-in-binding-2.rs:4:7
   |
LL |     _v: Vec<i32> = vec![1, 2, 3];
   |       ^ expected identifier
   |
help: you might have meant to introduce a new binding
   |
LL |     let _v: Vec<i32> = vec![1, 2, 3];
   |     +++

error: aborting due to previous error