summaryrefslogtreecommitdiff
path: root/tests/ui/type/missing-let-in-binding.fixed
blob: d1787688950ac3498482e7f75043efbd2a86a870 (plain)
1
2
3
4
5
// run-rustfix
fn main() {
    let mut _foo: i32 = 1;
    let _foo: i32 = 4; //~ ERROR type ascription is experimental
}