2018-07-15 16:11:54 -05:00
|
|
|
error[E0282]: type annotations needed
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-2151.rs:3:5
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | let x = panic!();
|
|
|
|
| - consider giving `x` a type
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | x.clone();
|
2018-07-18 14:35:20 -05:00
|
|
|
| ^ cannot infer type
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
= note: type must be known at this point
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|