summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-101477-let.rs
blob: 8b0e8bee1799d87ded6920f5ce6ec4d2bb26530e (plain)
1
2
3
4
5
6
// run-rustfix

fn main() {
    let x == 2; //~ ERROR unexpected `==`
    println!("x: {}", x)
}