Use FIXME instead of TODO

This commit is contained in:
John Kåre Alsaker 2017-07-10 21:12:32 +02:00
parent df608e710c
commit 8cd0595602
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ fn main() {
let _b = {
let a = 3;
|| {
let _: () = gen arg; // TODO: shouldn't be needed for inference
let _: () = gen arg; // FIXME: shouldn't be needed for inference
yield &a
//~^ ERROR: `a` does not live long enough
}

View File

@ -59,7 +59,7 @@ fn t2() {
fn t3() {
let b = B;
let foo = || {
let _: () = gen arg; // TODO: this line should not be necessary
let _: () = gen arg; // FIXME: this line should not be necessary
yield;
drop(b);
};