This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ LL | const M: usize = (f64::from(N) * std::f64::LOG10_2) as usize;
66 |
77help: consider importing one of these items
88 |
9+ LL + use std::f128::consts::LOG10_2;
10+ |
11+ LL + use std::f16::consts::LOG10_2;
12+ |
913LL + use std::f32::consts::LOG10_2;
1014 |
1115LL + use std::f64::consts::LOG10_2;
Original file line number Diff line number Diff line change @@ -107,6 +107,10 @@ LL | (E::TupleWithFields(/* fields */)).foo();
107107 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108108help: consider importing one of these items instead
109109 |
110+ LL + use std::f128::consts::E;
111+ |
112+ LL + use std::f16::consts::E;
113+ |
110114LL + use std::f32::consts::E;
111115 |
112116LL + use std::f64::consts::E;
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ LL | let _: E = m::f;
8484 | ~
8585help: consider importing one of these items instead
8686 |
87+ LL + use std::f128::consts::E;
88+ |
89+ LL + use std::f16::consts::E;
90+ |
8791LL + use std::f32::consts::E;
8892 |
8993LL + use std::f64::consts::E;
@@ -121,6 +125,10 @@ LL | let _: E = (E::Fn(/* fields */));
121125 | ~~~~~~~~~~~~~~~~~~~~~
122126help: consider importing one of these items instead
123127 |
128+ LL + use std::f128::consts::E;
129+ |
130+ LL + use std::f16::consts::E;
131+ |
124132LL + use std::f32::consts::E;
125133 |
126134LL + use std::f64::consts::E;
You can’t perform that action at this time.
0 commit comments