Skip to content

Commit 5e773f9

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 169181 b: refs/heads/snap-stage3 c: 8327bcc h: refs/heads/master i: 169179: b83e0b2 v: v3
1 parent 7781656 commit 5e773f9

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5e21e17d9638d14af41e27e5ca9a21c8a1bc0170
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 517f1cc63c1a5df148fdeef56791f66771d3d8e8
4+
refs/heads/snap-stage3: 8327bcc167661c26ca5c6b967309ff745d302329
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[
6969
("tuple_indexing", Accepted),
7070
("associated_types", Accepted),
7171
("visible_private_types", Active),
72-
("slicing_syntax", Active),
72+
("slicing_syntax", Accepted),
7373

7474
("if_let", Accepted),
7575
("while_let", Accepted),
@@ -337,14 +337,6 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
337337
}
338338

339339
fn visit_expr(&mut self, e: &ast::Expr) {
340-
match e.node {
341-
ast::ExprRange(..) => {
342-
self.gate_feature("slicing_syntax",
343-
e.span,
344-
"range syntax is experimental");
345-
}
346-
_ => {}
347-
}
348340
visit::walk_expr(self, e);
349341
}
350342

0 commit comments

Comments
 (0)