about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-12-07 15:09:59 -0800
committerBrian Anderson <banderson@mozilla.com>2012-12-07 15:54:17 -0800
commit10c9d7921d52ed41dadabb507fa8611f808dc485 (patch)
tree91a5480ba64945d2a83bb9a6257f67783f2234b6 /src/libsyntax/parse
parentecdc8aae4193a4306b379803897ff367f1f65379 (diff)
downloadrust-10c9d7921d52ed41dadabb507fa8611f808dc485.tar.gz
rust-10c9d7921d52ed41dadabb507fa8611f808dc485.zip
Trait constraints are separated by space, not comma
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
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())
     }