We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct A(u8); struct B(A); fn main() { let b = B(A(10)); let supposed_to_be_u8 = b.0.0; }
This code displays the following incorrect type annotation (A instead of u8):
A
u8
rustc 1.64.0 (a55dd71d5 2022-09-19) rust-analyzer version: 0.3.1248-standalone
The text was updated successfully, but these errors were encountered:
This may be a duplicate of #1109. Does b.0 .0 with the extra space work?
b.0 .0
Sorry, something went wrong.
Yes, that works, this is a duplicate of the other issue.
No branches or pull requests
This code displays the following incorrect type annotation (
A
instead ofu8
):rustc 1.64.0 (a55dd71d5 2022-09-19)
rust-analyzer version: 0.3.1248-standalone
The text was updated successfully, but these errors were encountered: