File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
branches/try/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 2
2
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5
- refs/heads/try: 517f1cc63c1a5df148fdeef56791f66771d3d8e8
5
+ refs/heads/try: 8327bcc167661c26ca5c6b967309ff745d302329
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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