summaryrefslogtreecommitdiffstats
path: root/tests/ui/or-patterns/inner-or-pat.or3.stderr
blob: 2236a38c37b2bf0ff9b56beba8e19fe3accfa7f0 (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 previous error

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