fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
405 B16 linesraw
1error[E0282]: type annotations needed
2  --> $DIR/issue-2151.rs:2:9
3   |
4LL |     let x = panic!();
5   |         ^
6LL |     x.clone();
7   |     - type must be known at this point
8   |
9help: consider giving `x` an explicit type
10   |
11LL |     let x: /* Type */ = panic!();
12   |          ++++++++++++
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0282`.