move when and if into expression

This commit is contained in:
Folkert 2021-03-07 19:50:32 +01:00
parent 1b750149c0
commit 7f7593f63e
2 changed files with 9 additions and 6 deletions

View file

@ -244,7 +244,7 @@ fn to_expr_report<'a>(
alloc.concat(vec![
alloc.reflow("The has-type operator "),
alloc.parser_suggestion(":"),
alloc.reflow(" can only occur in a definition's type signature, like "),
alloc.reflow(" can only occur in a definition's type signature, like"),
]),
alloc
.vcat(vec![