diff options
| author | Jean Lourenço <jeancarlos.bnu@gmail.com> | 2017-10-08 15:01:44 -0300 |
|---|---|---|
| committer | Jean Lourenço <jeancarlos.bnu@gmail.com> | 2017-10-10 23:52:45 -0300 |
| commit | db91b00065181137fa4a298aeee796ff10755d20 (patch) | |
| tree | cab82fbbf8d702ab4d354351b9f1aed530dba146 /src/libsyntax/parse/parser.rs | |
| parent | 417c73891ffd3a769e27c83b1d34916c3924ec94 (diff) | |
| download | rust-db91b00065181137fa4a298aeee796ff10755d20.tar.gz rust-db91b00065181137fa4a298aeee796ff10755d20.zip | |
output compiler message updated
output message is shown in another 'help:' block line with +100 columns formatted test adjusted
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 65dabe98a06..0e691624231 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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(); } |
