File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
branches/beta/src/libsyntax Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
31
31
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32
32
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
33
33
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
- refs/heads/beta: 517f1cc63c1a5df148fdeef56791f66771d3d8e8
34
+ refs/heads/beta: 8327bcc167661c26ca5c6b967309ff745d302329
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[
69
69
( "tuple_indexing" , Accepted ) ,
70
70
( "associated_types" , Accepted ) ,
71
71
( "visible_private_types" , Active ) ,
72
- ( "slicing_syntax" , Active ) ,
72
+ ( "slicing_syntax" , Accepted ) ,
73
73
74
74
( "if_let" , Accepted ) ,
75
75
( "while_let" , Accepted ) ,
@@ -337,14 +337,6 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
337
337
}
338
338
339
339
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
- }
348
340
visit:: walk_expr ( self , e) ;
349
341
}
350
342
You can’t perform that action at this time.
0 commit comments