Skip to content

Issues: rust-lang/rust-clippy

Most commonly ignored lints on crates.io
#7666 by dtolnay was closed Oct 9, 2022
Closed 23
Beta
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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Assigned to nobody Loading
Sort

Issues list

clippy::indexing_slicing triggers when using an index returned by binary search C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14452 opened Mar 22, 2025 by lopopolo
clippy::indexing_slicing does not report slicing on &str A-documentation Area: Adding or improving documentation C-bug Category: Clippy is not doing the correct thing
#13703 by link2xt was closed Dec 1, 2024
indexing_slicing emitting errors on proc-macro code. C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have T-macros Type: Issues with macros and macro expansion
#12824 by JosiahBull was closed Jun 11, 2024
ICE: index_slicing TryFromIntError(()) C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#12253 by matthiaskrgr was closed Feb 12, 2024
indexing_slicing should not warn with find/starts_with C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12236 opened Feb 6, 2024 by SoniEx2
indexing_slicing warns about using custom indexing operations C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11525 by LunaBorowska was closed May 31, 2024
Questions about restrictions lint following update to clippy 0.1.67 C-bug Category: Clippy is not doing the correct thing
#10244 by SylvainDe was closed Feb 1, 2023
indexing_slicing not warning about slicing when the type is a generic array returned from a generic function C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't
#10215 opened Jan 20, 2023 by nabilwadih
Warn on all slice methods that are panicky A-lint Area: New lints
#10024 opened Dec 2, 2022 by sffc
Document lint configuration values in Clippy's book A-documentation Area: Adding or improving documentation C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. good first issue These issues are a good way to get started with Clippy
#9991 by xFrednet was closed Jan 14, 2023
4 tasks done
indexing_slicing is not triggered in const fns C-bug Category: Clippy is not doing the correct thing good first issue These issues are a good way to get started with Clippy I-false-negative Issue: The lint should have been triggered on code, but wasn't
#9808 by KizzyCode was closed Dec 27, 2022
allow indexing_slicing in test
#9788 by attila-lin was closed Nov 19, 2024
clippy bug report I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#8850 by bobi6666 was closed May 26, 2022
"Clippy Lints" page forgets "Lint groups" selection A-website Area: Improving the clippy website C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages good first issue These issues are a good way to get started with Clippy
#8510 by smoelius was closed Jun 3, 2023
indexing_slicing should not fire if a valid array index comes from a constant function that is evaluated at compile-time C-bug Category: Clippy is not doing the correct thing good first issue These issues are a good way to get started with Clippy I-false-negative Issue: The lint should have been triggered on code, but wasn't
#8348 by c410-f3r was closed Apr 6, 2022
Migrate to span_clippy_lint C-tracking-issue Category: Tracking Issue performance-project For issues and PRs related to the Clippy Performance Project
#7797 opened Oct 9, 2021 by camsteffen
3 tasks
Most commonly ignored lints on crates.io A-category Area: Categorization of lints C-tracking-issue Category: Tracking Issue S-needs-discussion Status: Needs further discussion before merging or work can be started
#7666 by dtolnay was closed Oct 9, 2022
indexing_slicing displays error when indexing reference to array C-bug Category: Clippy is not doing the correct thing C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages E-medium Call for participation: Medium difficulty level problem and requires some initial experience.
#6021 by Zenithsiz was closed Sep 16, 2020
ProTip! Follow long discussions with comments:>50.