summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-83892.stderr
blob: 5e471819b27b8d19dd3a701f4f45db3eb3b501fc (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`.