diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-12-07 15:09:59 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-12-07 15:54:17 -0800 |
| commit | 10c9d7921d52ed41dadabb507fa8611f808dc485 (patch) | |
| tree | 91a5480ba64945d2a83bb9a6257f67783f2234b6 /src/libsyntax/parse/parser.rs | |
| parent | ecdc8aae4193a4306b379803897ff367f1f65379 (diff) | |
| download | rust-10c9d7921d52ed41dadabb507fa8611f808dc485.tar.gz rust-10c9d7921d52ed41dadabb507fa8611f808dc485.zip | |
Trait constraints are separated by space, not comma
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 36f5bbe4819..7509e43e402 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2826,7 +2826,7 @@ impl Parser { fn parse_trait_ref_list(ket: token::Token) -> ~[@trait_ref] { self.parse_seq_to_before_end( - ket, seq_sep_trailing_disallowed(token::COMMA), + ket, seq_sep_none(), |p| p.parse_trait_ref()) } |
