From 91c84f69283a8bfe07ba9b35e1976194c18f3484 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 30 Jul 2023 17:30:14 -0700 Subject: [PATCH] Fix trivial difference between full and non-full expression parse errors --- src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr.rs b/src/expr.rs index dde0a3ffd3..ae723242eb 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1663,7 +1663,7 @@ pub(crate) mod parsing { } Ok(expr) } else { - Err(input.error("expected expression")) + Err(input.error("expected an expression")) } }