Convert to spaces

This commit is contained in:
John Kåre Alsaker 2017-07-15 04:11:13 +02:00
parent 09a5d319ab
commit eea290d7fd
2 changed files with 8 additions and 8 deletions

View File

@ -15,10 +15,10 @@ fn foo(_a: (), _b: &bool) {}
// Some examples that probably *could* be accepted, but which we reject for now.
fn bar() {
|| {
let b = true;
foo(yield, &b);
}; //~ ERROR `b` does not live long enough
|| {
let b = true;
foo(yield, &b);
}; //~ ERROR `b` does not live long enough
}
fn main() { }

View File

@ -13,8 +13,8 @@
fn foo(_b: &bool, _a: ()) {}
fn main() {
|| {
let b = true;
foo(&b, yield);
}; //~ ERROR `b` does not live long enough
|| {
let b = true;
foo(&b, yield);
}; //~ ERROR `b` does not live long enough
}