]> git.lizzy.rs Git - rust.git/blob - tests/ui/deref-patterns/gate.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[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 }