Mismatched integer types with a block causes an error with incorrect names of types #84976
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-type-system
Area: Type system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: (playground)
The current output is:
Ideally the output should use the expected name of
u32
andi32
.(This happened to me when using an
length = unsafe { ... }
).The text was updated successfully, but these errors were encountered: