Skip to content

Commit 92f11e9

Browse files
author
Jorge Aparicio
committed
register snapshots
1 parent 571cc7f commit 92f11e9

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

src/libsyntax/parse/parser.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ impl<'a> Parser<'a> {
11391139

11401140
/// Parses an obsolete closure kind (`&:`, `&mut:`, or `:`).
11411141
pub fn parse_obsolete_closure_kind(&mut self) {
1142-
// let lo = self.span.lo;
1142+
let lo = self.span.lo;
11431143
if
11441144
self.check(&token::BinOp(token::And)) &&
11451145
self.look_ahead(1, |t| t.is_keyword(keywords::Mut)) &&
@@ -1163,10 +1163,8 @@ impl<'a> Parser<'a> {
11631163
return;
11641164
}
11651165

1166-
// SNAP 474b324
1167-
// Enable these obsolete errors after snapshot:
1168-
// let span = mk_sp(lo, self.span.hi);
1169-
// self.obsolete(span, ObsoleteSyntax::ClosureKind);
1166+
let span = mk_sp(lo, self.span.hi);
1167+
self.obsolete(span, ObsoleteSyntax::ClosureKind);
11701168
}
11711169

11721170
pub fn parse_ty_bare_fn_or_ty_closure(&mut self, lifetime_defs: Vec<LifetimeDef>) -> Ty_ {

src/snapshots.txt

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
S 2015-02-04 ac134f7
2+
freebsd-x86_64 483e37a02a7ebc12a872e3146145e342ba4a5c04
3+
linux-i386 8af64e5df839cc945399484380a8b2ebe05a6751
4+
linux-x86_64 9f485d79c1f0d273ed864eddadb1707f3e2df489
5+
macos-i386 800f86abd589a1d46c37a8700211c7ba6b05decb
6+
macos-x86_64 b9961faccf79dcfdc0b7a6909bef8b6769798d08
7+
winnt-i386 2c56a7573f8d0f78271dab1c8e29d3ced7a44ed8
8+
winnt-x86_64 f1736f47de2a6fad1ff881e51c176f71db5dc2a5
9+
110
S 2015-01-31 474b324
211
freebsd-x86_64 c5b55eb488790ff8425d74afa3b37c49517bc55f
312
linux-i386 319f2f3573c058cb2c4dfc75faaf8ea3ae86ef11

0 commit comments

Comments
 (0)