Open TonCherAmi opened 1 year ago
Were you able to reproduce this? I'm just wondering if there's anything else I can do to help diagnose this since the issue hasn't been labeled yet.
Hi @TonCherAmi! This is known limitation. Please subscribe to #2158 for updates
Environment
Problem description
The IDE seems to ignore unused trait imports if there's more than one module in the project. Struct/enum imports appear to be detected correctly.
The problem goes away if I comment out the module declaration:
Steps to reproduce
I've prepared a bare-bones project that should help reproduce the issue.
https://github.com/TonCherAmi/intellij-rust-unused-imports-repro