File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/snap-stage3/src/test/run-pass Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: a833337943300db1c310a4cf9c84b7b4ef4e9468
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: d0863adf24b316d8ecaca5a1b8866ee5db902313
4
+ refs/heads/snap-stage3: ca8578a953d0563dbef499ea2c2c853c9b71887c
5
5
refs/heads/try: 08f6380a9f0b866796080094f44fe25ea5636547
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change 12
12
13
13
fn foo ( ) -> int { 42 }
14
14
15
+ // Test that range syntax works in return statements
16
+ fn return_range_to ( ) -> :: std:: ops:: RangeTo < i32 > { return ..1 ; }
17
+
15
18
pub fn main ( ) {
16
19
let mut count = 0 ;
17
20
for i in 0 u..10 {
You can’t perform that action at this time.
0 commit comments