]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3718.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / tests / target / issue-3718.rs
1 fn main() {
2     let x: &[i32] = &[2, 2];
3     match x {
4         [_a, _] => println!("Wrong username or password"),
5         _ => println!("Logged in"),
6     }
7 }