fork/rust

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

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

master
692 B21 linesraw
1error[E0425]: cannot find value `LOG10_2` in module `std::f64`
2  --> $DIR/issue-50599.rs:3:48
3   |
4LL |     const M: usize = (f64::from(N) * std::f64::LOG10_2) as usize;
5   |                                                ^^^^^^^ not found in `std::f64`
6   |
7help: consider importing one of these items
8   |
9LL + use std::f32::consts::LOG10_2;
10   |
11LL + use std::f64::consts::LOG10_2;
12   |
13help: if you import `LOG10_2`, refer to it directly
14   |
15LL -     const M: usize = (f64::from(N) * std::f64::LOG10_2) as usize;
16LL +     const M: usize = (f64::from(N) * LOG10_2) as usize;
17   |
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0425`.