]> git.lizzy.rs Git - rust.git/commit
auto merge of #8547 : kballard/rust/trait-parse-err-msg, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 18 Aug 2013 05:52:00 +0000 (22:52 -0700)
committerbors <bors@rust-lang.org>
Sun, 18 Aug 2013 05:52:00 +0000 (22:52 -0700)
commit758c5e823621d1a6ef57f7a3a3cd5ba19116a777
tree2b5634a4a7607481b9456909332b3004e3ed988b
parent6a88415ed80cf98ff3c8864a2b1cbf57f32e6208
parent1fcb7ed9a67f316344b0b39e7682dceb1a61cf3e
auto merge of #8547 : kballard/rust/trait-parse-err-msg, r=alexcrichton

When parsing a trait function, the function must end with either `;` or
`{` (signifying a default implementation). The error message incorrectly
stated that it must be `;` or `}`.

Fixes #6610.
src/libsyntax/parse/parser.rs