Skip to content

Commit f026369

Browse files
sanxiyncatamorphism
authored andcommitted
---
yaml --- r: 52445 b: refs/heads/dist-snap c: 4dd29de h: refs/heads/master i: 52443: e397908 v: v3
1 parent 872d2dd commit f026369

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: 9a5d6170927547226870bbf4eb9cad62cdc405f6
10+
refs/heads/dist-snap: 4dd29dee571a89d1e085e6657d1fa582d946462e
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libsyntax/parse/parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,10 @@ impl Parser {
716716
// identifier names.
717717
fn parse_arg_general(require_name: bool) -> arg {
718718
let mut m;
719-
let is_mutbl = false;
719+
let mut is_mutbl = false;
720720
let pat = if require_name || self.is_named_argument() {
721721
m = self.parse_arg_mode();
722+
is_mutbl = self.eat_keyword(~"mut");
722723
let pat = self.parse_pat(false);
723724
self.expect(token::COLON);
724725
pat

0 commit comments

Comments
 (0)