]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0282.stderr
Auto merge of #47956 - retep998:is-nibbles, r=BurntSushi
[rust.git] / src / test / ui / error-codes / E0282.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/E0282.rs:12:9
3    |
4 12 |     let x = "hello".chars().rev().collect(); //~ ERROR E0282
5    |         ^
6    |         |
7    |         cannot infer type for `_`
8    |         consider giving `x` a type
9
10 error: aborting due to previous error
11