2025-04-08 23:06:31 +03:00

8 lines
138 B
Rust

// gate-test-string_deref_patterns
fn main() {
match String::new() {
"" | _ => {}
//~^ ERROR mismatched types
}
}