1 error[E0282]: type annotations needed
2 --> $DIR/issue-2151.rs:3:5
5 | - consider giving `x` a type
9 = note: type must be known at this point
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0282`.