forked from M-Labs/nac3
more readable type annotation error string
This commit is contained in:
parent
a9c73a4915
commit
5d8e87d923
|
@ -1076,7 +1076,7 @@ impl TopLevelComposer {
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.ok_or_else(|| {
|
.ok_or_else(|| {
|
||||||
format!(
|
format!(
|
||||||
"type annotation for `{}` at {} needed",
|
"type annotation needed for `{}` at {}",
|
||||||
x.node.arg, x.location
|
x.node.arg, x.location
|
||||||
)
|
)
|
||||||
})?
|
})?
|
||||||
|
|
Loading…
Reference in New Issue