diff --git a/nac3core/src/toplevel/composer.rs b/nac3core/src/toplevel/composer.rs index 70c03c536..208e20893 100644 --- a/nac3core/src/toplevel/composer.rs +++ b/nac3core/src/toplevel/composer.rs @@ -1076,7 +1076,7 @@ impl TopLevelComposer { .as_ref() .ok_or_else(|| { format!( - "type annotation for `{}` at {} needed", + "type annotation needed for `{}` at {}", x.node.arg, x.location ) })?