]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/let.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[rust.git] / src / test / pretty / let.rs
1 // pp-exact
2
3 // Check that `let x: _ = 0;` does not print as `let x = 0;`.
4
5 fn main() {
6     let x: _ = 0;
7
8     let _ = x;
9 }