fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
417 B14 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-83892.rs:9:15
3   |
4LL | fn main() {
5   |          - expected `()` because of default return type
6LL |     match () {
7LL |         () => func()
8   |               ^^^^^^ expected `()`, found `u8`
9LL |     }
10   |      - help: consider using a semicolon here: `;`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.