Skip to content

Commit

Permalink
Merge pull request #1491 from dtolnay/expectedexpr
Browse files Browse the repository at this point in the history
Fix trivial difference between full and non-full expression parse errors
  • Loading branch information
dtolnay authored Jul 31, 2023
2 parents f79ba15 + 91c84f6 commit 65aa662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ pub(crate) mod parsing {
}
Ok(expr)
} else {
Err(input.error("expected expression"))
Err(input.error("expected an expression"))
}
}

Expand Down

0 comments on commit 65aa662

Please # to comment.