]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-83892.stderr
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / ui / suggestions / issue-83892.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-83892.rs:9:15
3    |
4 LL | fn main() {
5    |           - expected `()` because of default return type
6 LL |     match () {
7 LL |         () => func()
8    |               ^^^^^^ expected `()`, found `u8`
9 LL |     }
10    |      - help: consider using a semicolon here: `;`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.