mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
b200108bc5
Fix the conflict problem between the diagnostics fixes of lint `unnecessary_qualification` and `unused_imports` fixes #121331 For an `item` that triggers lint unnecessary_qualification, if the `use item` which imports this item is also trigger unused import, fixing the two lints at the same time may lead to the problem that the `item` cannot be found. This PR will avoid reporting lint unnecessary_qualification when conflict occurs. r? ``@petrochenkov`` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |