rust/src/test/ui/pattern/usefulness/irrefutable-unit.rs
Nadrieril 09f9947ebc Gather together usefulness tests
I took most tests that were testing only for match exhaustiveness,
pattern refutability or match arm reachability, and put them in
the same test folder.
2019-10-27 21:20:26 +00:00

6 lines
90 B
Rust

// run-pass
// pretty-expanded FIXME #23616
pub fn main() {
let ((),()) = ((),());
}