error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
--> prog.rs:3:20
|
3 | println!("{}", x.sqrt());
| ^^^^
|
help: you must specify a type for this binding, like `f32`
|
2 | let x: f32 = 64.0;
| ~~~~~~
error: aborting due to previous error
For more information about this error, try `rustc --explain E0689`.