output compiler message updated

output message is shown in another 'help:' block

line with +100 columns formatted

test adjusted
This commit is contained in:
Jean Lourenço
2017-10-08 15:01:44 -03:00
parent 417c73891f
commit db91b00065
3 changed files with 7 additions and 1 deletions

View File

@@ -2947,6 +2947,7 @@ impl<'a> Parser<'a> {
{ // Foo<Bar<Baz<Qux, ()>>>
err.help(
"use `::<...>` instead of `<...>` if you meant to specify type arguments");
err.help("or use `(...)` if you meant to specify fn arguments");
}
err.emit();
}