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 ) })?