[fine] Get rid of "value required", it's not useful
This commit is contained in:
parent
b205ebcb4c
commit
758aef4db9
4 changed files with 43 additions and 66 deletions
|
|
@ -1,2 +1,2 @@
|
|||
if (if false { true }) { 32 } else { 23 }
|
||||
// type-error: 4 this conditional expression needs an else arm to produce a value
|
||||
// type-error: 4 the type of the `then` branch (bool) must match the type of the `else` branch (())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue