mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
minor error improvement
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
daee114ec1
commit
6eb5362383
1 changed files with 5 additions and 3 deletions
|
@ -301,11 +301,13 @@ fn to_expr_report<'a>(
|
|||
alloc.reflow(" and the expression after it."),
|
||||
],
|
||||
"<|" => vec![
|
||||
alloc.reflow("Roc doesn't have "),
|
||||
alloc.reflow("Roc doesn't have a "),
|
||||
alloc.parser_suggestion("<|"),
|
||||
alloc.reflow(" operator. Please use parentheses or "),
|
||||
alloc.reflow(" operator. Please use parentheses "),
|
||||
alloc.parser_suggestion("()"),
|
||||
alloc.reflow(" or "),
|
||||
alloc.parser_suggestion("|>"),
|
||||
alloc.reflow(" operator instead."),
|
||||
alloc.reflow(" instead."),
|
||||
],
|
||||
_ => vec![
|
||||
alloc.reflow("I have no specific suggestion for this operator, "),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue