-
-
Notifications
You must be signed in to change notification settings - Fork 15k
f32 seen as ambiguous associated type #26760
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.WG-diagnosticsWorking group: DiagnosticsWorking group: Diagnostics
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.WG-diagnosticsWorking group: DiagnosticsWorking group: Diagnostics
Type
Fields
Give feedbackNo fields configured for issues without a type.
see http://stackoverflow.com/questions/31208465/pi-constant-is-ambiguous
fails to compile with:
on rust 1.0 stable and 1.1 stable
using the full path
std::f32::consts::PI;works. The compilation error looks wrong (why is f32 an associated type)?