Skip to content

Commit dddad09

Browse files
committed
---
yaml --- r: 24563 b: refs/heads/try2 c: bfa43ca h: refs/heads/master i: 24561: 66ffdbc 24559: a79e4d2 v: v3
1 parent d2d5370 commit dddad09

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: f2e2a14f364041fc5cb346fd308bb1777ca3c24c
8+
refs/heads/try2: bfa43ca3011bd1296cb1797ad3ea1c5dc4056749
99
refs/heads/incoming: 05543fd04dfb3f63b453a331e239ceb1a9a219f9
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// no-reformat
2+
// Testing various forms of `do` and `for` with empty arg lists
3+
4+
fn f(f: fn() -> bool) {
5+
}
6+
7+
fn main() {
8+
do f() || { true }
9+
do f() { true }
10+
do f || { true }
11+
do f { true }
12+
for f() || { }
13+
for f() { }
14+
for f || { }
15+
for f { }
16+
}

0 commit comments

Comments
 (0)