blob: 7f8545f461d9e6d77c9c73aef823f0adea405003 [file] [log] [blame]
error[E0223]: ambiguous associated type
--> $DIR/suggest-std-when-using-type.rs:3:14
|
LL | let pi = f32::consts::PI;
| ^^^^^^^^^^^
|
help: you are looking for the module in `std`, not the primitive type
|
LL | let pi = std::f32::consts::PI;
| +++++
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0223`.