summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-83892.stderr
blob: baf6b1447e69dd250e271e6373335045d363b835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/issue-83892.rs:9:15
   |
LL | fn main() {
   |           - expected `()` because of default return type
LL |     match () {
LL |         () => func()
   |               ^^^^^^ expected `()`, found `u8`
LL |     }
   |      - help: consider using a semicolon here: `;`

error: aborting due to previous error

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