Skip to content

Commit eea290d

Browse files
committed
Convert to spaces
1 parent 09a5d31 commit eea290d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/test/compile-fail/generator/yield-in-args-rev.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ fn foo(_a: (), _b: &bool) {}
1515
// Some examples that probably *could* be accepted, but which we reject for now.
1616

1717
fn bar() {
18-
|| {
19-
let b = true;
20-
foo(yield, &b);
21-
}; //~ ERROR `b` does not live long enough
18+
|| {
19+
let b = true;
20+
foo(yield, &b);
21+
}; //~ ERROR `b` does not live long enough
2222
}
2323

2424
fn main() { }

src/test/compile-fail/generator/yield-in-args.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
fn foo(_b: &bool, _a: ()) {}
1414

1515
fn main() {
16-
|| {
17-
let b = true;
18-
foo(&b, yield);
19-
}; //~ ERROR `b` does not live long enough
16+
|| {
17+
let b = true;
18+
foo(&b, yield);
19+
}; //~ ERROR `b` does not live long enough
2020
}

0 commit comments

Comments
 (0)