]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-83892.stderr
Auto merge of #106981 - joboet:std_remove_box_syntax, r=thomcc
[rust.git] / tests / 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`.