Skip to content

Commit 9bdc177

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 172155 b: refs/heads/beta c: 8327bcc h: refs/heads/master i: 172153: 78b1b68 172151: 14c7d1c v: v3
1 parent bf28dc1 commit 9bdc177

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
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 517f1cc63c1a5df148fdeef56791f66771d3d8e8
34+
refs/heads/beta: 8327bcc167661c26ca5c6b967309ff745d302329
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/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)