rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.36k stars 1.61k forks source link

Unused symbol warnings #4766

Closed cart closed 4 years ago

cart commented 4 years ago

4721 removes the "warning" status from unused symbols. This means they no longer show up in the "problems" panel. Now in order to identify these problems I need to run cargo build/check manually. Having the warnings show up in an easy-to-navigate panel was a nice productivity booster for me. It would be great if we could optionally re-enable the old behavior.

freesig commented 4 years ago

I also loved this feature

aloucks commented 4 years ago

I definitely prefer the old behavior. Having the warnings in the Problems window is quite nice.

CryZe commented 4 years ago

This has been very annoying to me the last few days as I now need to use the terminal to find all my unused imports and co. and manually navigate to those places.

CryZe commented 4 years ago

Can we possibly revert the PR for tomorrow's release and then figure out what to do after?

lnicola commented 4 years ago

Already done in https://github.com/rust-analyzer/rust-analyzer/pull/4862.