]> git.lizzy.rs Git - rust.git/blob - tests/ui/deref-patterns/gate.stderr
Make `output_filenames` a real query
[rust.git] / tests / ui / deref-patterns / gate.stderr
1 error[E0308]: mismatched types
2   --> $DIR/gate.rs:4:9
3    |
4 LL |     match String::new() {
5    |           ------------- this expression has type `String`
6 LL |         "" | _ => {}
7    |         ^^ expected struct `String`, found `&str`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.