1
Fork 0
rust/src/test/ui/deref-patterns/gate.rs

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

8 lines
125 B
Rust
Raw Normal View History

2022-07-05 07:42:19 +00:00
// gate-test-deref_patterns
fn main() {
match String::new() {
"" | _ => {}
//~^ mismatched types
}
}