Fix new test

This commit is contained in:
Esteban Küber 2018-07-20 09:17:55 -07:00
parent e1ef8ba142
commit 70e7e7d409
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ fn main() {
//~^ NOTE the element type for this iterator is not specified
*tile = 0;
//~^ ERROR type annotations needed
//~| NOTE cannot infer type for `_`
//~| NOTE cannot infer type
//~| NOTE type must be known at this point
}
}

View File

@ -5,7 +5,7 @@ LL | for tile in row {
| --- the element type for this iterator is not specified
LL | //~^ NOTE the element type for this iterator is not specified
LL | *tile = 0;
| ^^^^^ cannot infer type for `_`
| ^^^^^ cannot infer type
|
= note: type must be known at this point