fix error message string
This commit is contained in:
parent
d1e172501d
commit
da039e3acf
@ -806,7 +806,7 @@ impl TopLevelComposer {
|
|||||||
.as_ref()
|
.as_ref()
|
||||||
.ok_or_else(|| {
|
.ok_or_else(|| {
|
||||||
format!(
|
format!(
|
||||||
"function parameter `{}` at {} need type annotation",
|
"function parameter `{}` needs type annotation at {}",
|
||||||
x.node.arg, x.location
|
x.node.arg, x.location
|
||||||
)
|
)
|
||||||
})?
|
})?
|
||||||
|
Loading…
Reference in New Issue
Block a user