1 2 3 4 5 6 7
// gate-test-string_deref_patterns fn main() { match String::new() { "" | _ => {} //~^ mismatched types } }