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