rust/tests/pretty/let.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
124 B
Rust
Raw Normal View History

2015-01-02 07:28:53 -06:00
// pp-exact
// Check that `let x: _ = 0;` does not print as `let x = 0;`.
fn main() {
let x: _ = 0;
let _ = x;
}