forked from M-Labs/nac3
fix error message string
This commit is contained in:
parent
d1e172501d
commit
da039e3acf
@ -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
|
||||
)
|
||||
})?
|
||||
|
Loading…
Reference in New Issue
Block a user