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

False negative "use of moved value" #10823

Open
Maksim20023 opened this issue Aug 24, 2023 · 0 comments
Open

False negative "use of moved value" #10823

Maksim20023 opened this issue Aug 24, 2023 · 0 comments

Comments

@Maksim20023
Copy link
Collaborator

Environment

  • IntelliJ Rust plugin version: 0.4.200.5421-232
  • Rust toolchain version: rust 1.71.1 (eb26296b5 2023-08-03)
  • IDE name and version: CLion 2023.2 Build CL-232.8660.186
  • Operating system: MacOS 13.4.1

Problem description

Use after move is not being detected by the IDE. Eclipse reports the error in real time.

Eclipse screenshot

261804266-b29e6c10-5bbd-4965-b405-bf5989e54408

CLion screenshot

261804305-3e54c74a-b8ca-41a6-ae69-ba75177a4e30

As a workaround for CLion Rust plugin not reliably detecting compilation errors in the editor I'm running now Eclipse and IntelliJ side by side. I'm also going to try and run VS code (both Eclipse and VS code use rust-analyzer to accurately detect compiler errors in real time)

Originally posted in 10427 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant