summaryrefslogtreecommitdiffstats
path: root/tests/ui/or-patterns/inner-or-pat.or3.stderr
blob: 10ec7c202e4d6714e52dd3db9acf1a23458beaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/inner-or-pat.rs:38:54
   |
LL |     match x {
   |           - this expression has type `&str`
LL |         x @ ((("h" | "ho" | "yo" | ("dude" | "w")) | () | "nop") | ("hey" | "gg")) |
   |                                                      ^^ expected `str`, found `()`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0308`.