about summary refs log tree commit diff
path: root/tests/ui/type/missing-let-in-binding.stderr
blob: dee3d56dc51e938e4ee7f9fc796cd33a841b45c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found `:`
  --> $DIR/missing-let-in-binding.rs:4:9
   |
LL |     _foo: i32 = 4;
   |         ^ expected identifier
   |
help: you might have meant to introduce a new binding
   |
LL |     let _foo: i32 = 4;
   |     +++

error: aborting due to 1 previous error