]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-2151.stderr
Rollup merge of #53229 - varkor:rlimits_min, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-2151.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/issue-2151.rs:13:5
3    |
4 LL |     let x = panic!();
5    |         - consider giving `x` a type
6 LL |     x.clone(); //~ ERROR type annotations needed
7    |     ^ cannot infer type
8    |
9    = note: type must be known at this point
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0282`.