]> git.lizzy.rs Git - rust.git/blob - tests/ui/deref-patterns/gate.rs
Make `output_filenames` a real query
[rust.git] / tests / ui / deref-patterns / gate.rs
1 // gate-test-string_deref_patterns
2 fn main() {
3     match String::new() {
4         "" | _ => {}
5         //~^ mismatched types
6     }
7 }