Compile error due to the wrong literal data type #68951
Labels
A-inference
Area: Type inference
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
Playground
I expected to see this happen: it should be compiled
Instead, this happened:
Meta
rustc --version --verbose
:The same happens on beta and nightly.
Backtrace
The text was updated successfully, but these errors were encountered: