no method named "fract" found for type "f64" in the current scope when in no_std #133579
Closed as duplicate of#50145
no method named "fract" found for type "f64" in the current scope when in no_std #133579
I tried this code:
I expected to see this happen: Compiles successfully
Instead, this happened: Fails to compile with
E0599"no method namedfractfound for typef64in the current scope"Meta
rustc --version --verbose: