We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1ef8ba commit 70e7e7dCopy full SHA for 70e7e7d
src/test/ui/issue-51116.rs
@@ -15,7 +15,7 @@ fn main() {
15
//~^ NOTE the element type for this iterator is not specified
16
*tile = 0;
17
//~^ ERROR type annotations needed
18
- //~| NOTE cannot infer type for `_`
+ //~| NOTE cannot infer type
19
//~| NOTE type must be known at this point
20
}
21
src/test/ui/issue-51116.stderr
@@ -5,7 +5,7 @@ LL | for tile in row {
5
| --- the element type for this iterator is not specified
6
LL | //~^ NOTE the element type for this iterator is not specified
7
LL | *tile = 0;
8
- | ^^^^^ cannot infer type for `_`
+ | ^^^^^ cannot infer type
9
|
10
= note: type must be known at this point
11
0 commit comments