Skip to content
New issue

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

rust-analyzer refuses to show type error until I run cargo clean #16595

Open
AbhinavMir opened this issue Feb 18, 2024 · 0 comments
Open

rust-analyzer refuses to show type error until I run cargo clean #16595

AbhinavMir opened this issue Feb 18, 2024 · 0 comments
Labels
C-bug Category: bug

Comments

@AbhinavMir
Copy link

I'm working on a rather large Rust codebase, and the rust-analyzer seems to not point out an obvious type error (when switching from one non-primitive struct to another, but does when I switch from the struct to something inherent, like String).

#4894 <- This issue discusses a similar problem, where unless the OP runs cargo clean, the errors do not show up. Is there a way to make this information more available or push a fix that fixes this? Best guess is something to do with indexing not picking up certain changes, but I'm new to Rust, and wouldn't know.

Cheers,
Thanks.

@AbhinavMir AbhinavMir added the C-bug Category: bug label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant