summaryrefslogtreecommitdiffstats
path: root/tests/pretty/let.rs
blob: 20ffb757818294a689e67023604eb5ee54b84c55 (plain)
1
2
3
4
5
6
7
8
9
// pp-exact

// Check that `let x: _ = 0;` does not print as `let x = 0;`.

fn main() {
    let x: _ = 0;

    let _ = x;
}