]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18159.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-18159.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/issue-18159.rs:12:9
3    |
4 LL |     let x; //~ ERROR type annotations needed
5    |         ^
6    |         |
7    |         cannot infer type
8    |         consider giving `x` a type
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0282`.