remove slicing_syntax feature gate
This commit is contained in:
parent
517f1cc63c
commit
8327bcc167
1 changed files with 1 additions and 9 deletions
|
@ -69,7 +69,7 @@ static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[
|
|||
("tuple_indexing", Accepted),
|
||||
("associated_types", Accepted),
|
||||
("visible_private_types", Active),
|
||||
("slicing_syntax", Active),
|
||||
("slicing_syntax", Accepted),
|
||||
|
||||
("if_let", Accepted),
|
||||
("while_let", Accepted),
|
||||
|
@ -337,14 +337,6 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
|
|||
}
|
||||
|
||||
fn visit_expr(&mut self, e: &ast::Expr) {
|
||||
match e.node {
|
||||
ast::ExprRange(..) => {
|
||||
self.gate_feature("slicing_syntax",
|
||||
e.span,
|
||||
"range syntax is experimental");
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
visit::walk_expr(self, e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue