fork/rust

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

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

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