Skip to content

Commit ac2d744

Browse files
committed
---
yaml --- r: 49621 b: refs/heads/master c: 46d4cc1 h: refs/heads/master i: 49619: 7d18585 v: v3
1 parent 7affb28 commit ac2d744

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0d52b22e7bd554464144e0a037285f62ddbd9eb2
2+
refs/heads/master: 46d4cc12d1f2b1c7b13d19ae88d123523e3e3964
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea

trunk/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ pub impl Parser {
11761176
} else if *self.token == token::LBRACKET {
11771177
self.bump();
11781178
let mutbl = self.parse_mutability();
1179-
if mutbl == m_mutbl { // `m_const` too after snapshot
1179+
if mutbl == m_mutbl || mutbl == m_const {
11801180
self.obsolete(*self.last_span, ObsoleteMutVector);
11811181
}
11821182

0 commit comments

Comments
 (0)