about summary refs log tree commit diff
path: root/tests/ui/type/missing-let-in-binding.rs
blob: 215df6e4c55a8afc674040926675f3fc0c1d4bda (plain)
1
2
3
4
5
//@ run-rustfix
fn main() {
    let mut _foo: i32 = 1;
    _foo: i32 = 4; //~ ERROR expected identifier, found `:`
}