]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-83892.rs
Rollup merge of #106106 - jyn514:remote-tracking-branch, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / issue-83892.rs
1 // run-rustfix
2
3 fn func() -> u8 {
4     0
5 }
6
7 fn main() {
8     match () {
9         () => func() //~ ERROR mismatched types
10     }
11 }