We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89faa1c commit 6ed9397Copy full SHA for 6ed9397
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 39b468e17a4977f0be82f47880a32b99842853fa
+refs/heads/master: 6a4270523e785c4976dd46f82e3a90375cac746d
trunk/src/comp/syntax/parse/parser.rs
@@ -591,7 +591,13 @@ fn parse_arg_mode(p: parser) -> ast::mode {
591
ret ast::by_mut_ref;
592
} else if eat(p, token::BINOP(token::MINUS)) {
593
ret ast::by_move;
594
- } else { ret ast::by_ref; }
+ } else {
595
+ // FIXME Temporarily ignore these, to make it possible to implement
596
+ // them without breaking the stage0 build.
597
+ eat(p, token::ANDAND);
598
+ eat(p, token::BINOP(token::PLUS));
599
+ ret ast::by_ref;
600
+ }
601
}
602
603
fn parse_arg(p: parser) -> ast::arg {
0 commit comments