more readable type annotation error string
This commit is contained in:
parent
a9c73a4915
commit
5d8e87d923
@ -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
|
||||
)
|
||||
})?
|
||||
|
Loading…
Reference in New Issue
Block a user