fork/rust

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

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

master
625 B17 linesraw
1error[E0284]: type annotations needed
2  --> $DIR/issue-70082.rs:7:33
3   |
4LL |     let y: f64 = 0.01f64 * 1i16.into();
5   |                          -      ^^^^
6   |                          |
7   |                          type must be known at this point
8   |
9   = note: cannot satisfy `<f64 as Mul<_>>::Output == f64`
10help: try using a fully qualified path to specify the expected types
11   |
12LL |     let y: f64 = 0.01f64 * <i16 as Into<T>>::into(1i16);
13   |                            +++++++++++++++++++++++    ~
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0284`.