blob: 7f8545f461d9e6d77c9c73aef823f0adea405003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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`.
|