]> git.lizzy.rs Git - rust.git/blob - src/test/ui/or-patterns/inner-or-pat.or3.stderr
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / or-patterns / inner-or-pat.or3.stderr
1 error[E0308]: mismatched types
2   --> $DIR/inner-or-pat.rs:38:54
3    |
4 LL |     match x {
5    |           - this expression has type `&str`
6 LL |         x @ ((("h" | "ho" | "yo" | ("dude" | "w")) | () | "nop") | ("hey" | "gg")) |
7    |                                                      ^^ expected `str`, found `()`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.