]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-83892.rs
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[rust.git] / src / test / 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 }