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, 2 insertions, 2 deletions
diff --git a/crates/ra_parser/src/grammar/params.rs b/crates/ra_parser/src/grammar/params.rs
index 34c584c79..834d80b52 100644
--- a/crates/ra_parser/src/grammar/params.rs
+++ b/crates/ra_parser/src/grammar/params.rs
@@ -47,10 +47,10 @@ fn list_(p: &mut Parser, flavor: Flavor) {
47 attributes::outer_attributes(p); 47 attributes::outer_attributes(p);
48 opt_self_param(p); 48 opt_self_param(p);
49 } 49 }
50 while !p.at(EOF) && !p.at(ket) && !(flavor.type_required() && p.at(T![...])) { 50 while !p.at(EOF) && !p.at(ket) {
51 attributes::outer_attributes(p); 51 attributes::outer_attributes(p);
52 52
53 if p.at(T![...]) { 53 if flavor.type_required() && p.at(T![...]) {
54 break; 54 break;
55 } 55 }
56 56