Mediocre error message for f32/f64 ambiguity #47759
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-inference
Area: Type inference
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I have this code:
https://play.rust-lang.org/?gist=58e23173aec4b798d8021af0ead25bbd&version=nightly
I get this error message:
I can work around by:
The world would be a better place if:
x
{float}
thingThe text was updated successfully, but these errors were encountered: