Wrap inner tail expressions in MissingOkOrSomeInTailExpr

This commit is contained in:
Lukas Wirth 2021-07-31 20:00:09 +02:00
parent eb513c22f7
commit 1edbaa29f9
8 changed files with 69 additions and 11 deletions

View file

@ -533,6 +533,9 @@ fn foo() ->$0 u32 {
5
// ^
}
} else if false {
0
// ^
} else {
match 5 {
6 => 100,