Comments (2)
unused_imports
is a rustc lint (implemented in the compiler, not in clippy), so there's not much we can do about it here. We just inherit rustc lints (including its bugs); you should also see these warnings with a regular cargo check
.
That said, this looks like the same issue described in rust-lang/rust#121362 ?
from rust-clippy.
Thank you! You're very right, I think I was about to create an issue there and ended up making it in the wrong repo.
And thank you for finding that issue, that's the one! I wasn't having luck digging it up, but many hands make light work 🤝
from rust-clippy.
Related Issues (20)
- Add lint to detect unnecessary `clone()` for `AsRef`-taking function
- `seek_from_current` description has some readability issues
- assigning_clones: after fixes were automatically applied the compiler reported errors within these files: – cannot borrow `name` as mutable because it is also borrowed as immutable HOT 2
- Build fails: failed to resolve: use of undeclared type `CoroutineKind`, etc
- op_ref false positive
- catch-all in match expression HOT 3
- Nightly clippy auto-fixes cause errors HOT 1
- `std_instead_of_core` creates an invalid fix on stacked imports
- collection_is_never_read misfires on #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
- Ban Stacked `if`'s HOT 7
- Check for possible silently passing invalid tests by making sure some sort of `panic!` exists in alongside a `eprintln!` HOT 2
- `doc_markdown` now fires on private items HOT 1
- clippy::map_entry false positive with let-else HOT 1
- Manual char string search pattern HOT 1
- Bugs on comments ending with Chinese characters followed by a return statement HOT 4
- `cast_lossless` should not warn about casts to `u128` HOT 1
- `cmp_owned` triggers when the comparison requires conversion HOT 1
- Separate lint needless_lifetimes for types with multiple lifetimes HOT 5
- suspicious_else_formatting warns when there's commented code HOT 1
- mismatched types error when returning impl Type from a function, and using a feature HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-clippy.