From da039e3acf6e96a58210e6a88e03617c90591c0c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 2 Mar 2022 08:04:15 +0800 Subject: [PATCH] fix error message string --- nac3core/src/toplevel/composer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3core/src/toplevel/composer.rs b/nac3core/src/toplevel/composer.rs index 208e2089..bf36adcd 100644 --- a/nac3core/src/toplevel/composer.rs +++ b/nac3core/src/toplevel/composer.rs @@ -806,7 +806,7 @@ impl TopLevelComposer { .as_ref() .ok_or_else(|| { format!( - "function parameter `{}` at {} need type annotation", + "function parameter `{}` needs type annotation at {}", x.node.arg, x.location ) })?