]> git.lizzy.rs Git - rust.git/blob - tests/pretty/let.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / 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 }