Skip to content

Commit 70e7e7d

Browse files
author
Esteban Küber
committed
Fix new test
1 parent e1ef8ba commit 70e7e7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/issue-51116.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() {
1515
//~^ NOTE the element type for this iterator is not specified
1616
*tile = 0;
1717
//~^ ERROR type annotations needed
18-
//~| NOTE cannot infer type for `_`
18+
//~| NOTE cannot infer type
1919
//~| NOTE type must be known at this point
2020
}
2121
}

src/test/ui/issue-51116.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | for tile in row {
55
| --- the element type for this iterator is not specified
66
LL | //~^ NOTE the element type for this iterator is not specified
77
LL | *tile = 0;
8-
| ^^^^^ cannot infer type for `_`
8+
| ^^^^^ cannot infer type
99
|
1010
= note: type must be known at this point
1111

0 commit comments

Comments
 (0)