aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_parser/src/grammar/params.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_parser/src/grammar/params.rs b/crates/ra_parser/src/grammar/params.rs
index c9c2da379..34c584c79 100644
--- a/crates/ra_parser/src/grammar/params.rs
+++ b/crates/ra_parser/src/grammar/params.rs
@@ -50,6 +50,10 @@ fn list_(p: &mut Parser, flavor: Flavor) {
50 while !p.at(EOF) && !p.at(ket) && !(flavor.type_required() && p.at(T![...])) { 50 while !p.at(EOF) && !p.at(ket) && !(flavor.type_required() && p.at(T![...])) {
51 attributes::outer_attributes(p); 51 attributes::outer_attributes(p);
52 52
53 if p.at(T![...]) {
54 break;
55 }
56
53 if !p.at_ts(VALUE_PARAMETER_FIRST) { 57 if !p.at_ts(VALUE_PARAMETER_FIRST) {
54 p.error("expected value parameter"); 58 p.error("expected value parameter");
55 break; 59 break;