libsyntax: Implement the + syntax for multiple trait bounds. r=tjc
This commit is contained in:
@@ -2531,6 +2531,10 @@ impl Parser {
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
||||
if self.eat(token::BINOP(token::PLUS)) {
|
||||
// Should be `break;` but that isn't backwards compatible.
|
||||
}
|
||||
}
|
||||
}
|
||||
return @move bounds;
|
||||
|
||||
Reference in New Issue
Block a user