]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-83892.rs
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[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 }