An open API service for providing issue and pull request metadata for open source projects.

GitHub / rust-lang/rust-clippy issues and pull requests

#15283 - `ptr-as-ptr` suggestion syntax error

Issue - State: open - Opened by matthiaskrgr 16 days ago
Labels: I-suggestion-causes-error

#15278 - gh-pages: reduce page size by skipping spaces

Pull Request - State: closed - Opened by klensy 16 days ago - 2 comments
Labels: S-waiting-on-review

#15276 - Compiler panic bug report

Issue - State: closed - Opened by fsasieta 16 days ago - 3 comments
Labels: C-bug, I-ICE

#15259 - `as-ptr-cast-mut` causes type error

Issue - State: open - Opened by matthiaskrgr 19 days ago
Labels: I-suggestion-causes-error

#15258 - `clone-on-ref-ptr` could suggest `std::sync::Arc` when `Arc` is not in scope

Issue - State: open - Opened by matthiaskrgr 19 days ago
Labels: L-suggestion

#15257 - `if-then-some-else-none` changes return type

Issue - State: open - Opened by matthiaskrgr 19 days ago
Labels: C-bug, I-suggestion-causes-error

#15256 - `needless-for-each` expands macros in suggestion

Issue - State: open - Opened by matthiaskrgr 19 days ago
Labels: C-bug, T-macros, I-suggestion-causes-error

#15255 - add clippy_test_deps/Cargo.lock

Pull Request - State: open - Opened by RalfJung 19 days ago - 1 comment
Labels: S-waiting-on-review

#15254 - manual_abs_diff suggested fix doesn't work for borrowed values

Issue - State: open - Opened by CattleProdigy 20 days ago
Labels: C-bug, I-false-positive

#15253 - fix false negative of `expect_used`

Pull Request - State: open - Opened by relaxcn 20 days ago - 2 comments
Labels: S-waiting-on-review

#15252 - False positive on `clippy::unnecessary_to_owned` causes `... does not live long enough`

Issue - State: open - Opened by kjarosh 20 days ago
Labels: C-bug, I-false-positive

#15251 - Remove CSS bootstrap dependency

Pull Request - State: open - Opened by GuillaumeGomez 20 days ago - 1 comment
Labels: S-waiting-on-review

#15250 - Use `$RUSTC` instead of `rustc` to get version if var is available

Pull Request - State: closed - Opened by samueltardieu 20 days ago - 2 comments
Labels: S-waiting-on-review

#15250 - Use `$RUSTC` instead of `rustc` to get version if var is available

Pull Request - State: open - Opened by samueltardieu 20 days ago - 2 comments
Labels: S-waiting-on-review

#15249 - Build script triggers rustup toolchain installation

Issue - State: closed - Opened by bjorn3 20 days ago

#15248 - Include simple fractions in approx_constant

Issue - State: open - Opened by TomFryersMidsummer 20 days ago - 2 comments
Labels: C-enhancement

#15247 - `expect_used` doesnt trigger for `.ok().expect("...")`

Issue - State: open - Opened by vivax3794 20 days ago - 1 comment
Labels: C-bug, I-false-negative

#15246 - `wildcard_imports`'s `allowed-wildcard-imports` with several path segments

Issue - State: open - Opened by ojeda 21 days ago
Labels: C-enhancement

#15245 - Lint to detect empty comments within docs ("`//` within `///`")

Issue - State: open - Opened by ojeda 21 days ago - 3 comments
Labels: A-lint

#15244 - Lint to disallow imports of certain items

Issue - State: open - Opened by ojeda 21 days ago
Labels: A-lint

#15243 - Rustup

Pull Request - State: closed - Opened by flip1995 21 days ago - 2 comments

#15242 - disallowed_methods: handle full paths as replacement for method call

Pull Request - State: open - Opened by notriddle 21 days ago - 1 comment
Labels: S-waiting-on-review

#15241 - Fixed issue #15192

Pull Request - State: open - Opened by lkshayb 21 days ago - 6 comments
Labels: S-waiting-on-review

#15239 - Update manual_is_variant_and documentation to include equality comparison

Pull Request - State: open - Opened by krikera 22 days ago - 2 comments
Labels: S-waiting-on-review

#15238 - `arithmetic_side_effects`: don't warn on `NonZeroU*.get() - 1`

Pull Request - State: closed - Opened by ada4a 22 days ago - 7 comments

#15237 - regex in loop triggers on OnceLock::<Regex>::get_or_init in loop

Issue - State: open - Opened by hkBst 22 days ago - 2 comments
Labels: C-bug, I-false-positive

#15236 - Fix `approx_const` for some new cases

Pull Request - State: open - Opened by teofr 22 days ago - 6 comments
Labels: S-waiting-on-review

#15235 - Reduce clippy lints page size

Pull Request - State: closed - Opened by GuillaumeGomez 22 days ago - 2 comments

#15234 - [Ignore] Testing for PR GHA

Pull Request - State: closed - Opened by blyxyas 22 days ago - 3 comments
Labels: A-lint, S-blocked

#15233 - `map_entry` lint fires even when else block takes ownership of key

Issue - State: open - Opened by TogarashiPepper 22 days ago
Labels: C-bug, I-false-positive

#15232 - `ptr-as-ptr` confused by `ptr::addr_of_mut!` macro

Issue - State: open - Opened by matthiaskrgr 23 days ago
Labels: C-bug, T-macros, I-suggestion-causes-bug

#15231 - Cleanup feature_freeze workflow

Pull Request - State: closed - Opened by alex-semenyuk 23 days ago - 5 comments

#15229 - `{flat_,}map_identity`: recognize `|[x, y]| [x, y]` as an identity function as well

Pull Request - State: open - Opened by ada4a 23 days ago - 2 comments
Labels: S-waiting-on-review

#15228 - Add `uninlined_format_args` example for `{:?}`

Pull Request - State: closed - Opened by AljoschaMeyer 23 days ago - 4 comments

#15227 - `manual-assert` mishandles `if macro! { panic!() }`

Issue - State: open - Opened by matthiaskrgr 24 days ago
Labels: C-bug, T-macros, I-suggestion-causes-error

#15226 - fix(manual_assert): use multipart suggestion instead of simple span_suggestion

Pull Request - State: open - Opened by Knotty123230 24 days ago - 1 comment
Labels: S-waiting-on-review

#15225 - `NonZero<Unsigned>::get() - 1` should not trigger `arithmetic-side-effects`

Issue - State: closed - Opened by demosdemon 24 days ago - 1 comment
Labels: C-bug, I-false-positive

#15223 - `useless_concat` false positive

Issue - State: open - Opened by gabi-250 24 days ago
Labels: C-bug, I-false-positive

#15222 - skip exit late lint pass on tests

Pull Request - State: closed - Opened by Jared-Prime 24 days ago - 4 comments

#15221 - `as-underscore` suggests path that does not work

Issue - State: open - Opened by matthiaskrgr 25 days ago
Labels: C-bug, I-suggestion-causes-error

#15220 - `ref-binding-to-reference` does not pass borrowck

Issue - State: open - Opened by matthiaskrgr 25 days ago
Labels: C-bug, I-suggestion-causes-error

#15219 - `unnested-or-patterns` `union` binding no longer usable

Issue - State: open - Opened by matthiaskrgr 25 days ago
Labels: C-bug, I-suggestion-causes-error

#15218 - Fix few typos

Pull Request - State: closed - Opened by alex-semenyuk 25 days ago - 2 comments

#15217 - `manual_is_variant_and` documentation doesn't mention all linted cases

Issue - State: open - Opened by y21 25 days ago
Labels: A-documentation

#15216 - List possible values for configuration enums

Pull Request - State: open - Opened by BenjaminBrienen 25 days ago - 7 comments
Labels: S-waiting-on-review

#15213 - Propagate `accept-comment-above-attributes` to statements

Pull Request - State: closed - Opened by blyxyas 25 days ago - 3 comments

#15211 - Lazily evaluate const fns

Pull Request - State: closed - Opened by sethdusek 26 days ago - 4 comments

#15206 - Fix `manual_is_variant_and` condition generation

Pull Request - State: closed - Opened by samueltardieu 27 days ago - 11 comments
Labels: beta-nominated, I-suggestion-causes-bug

#15202 - Incorrect suggestion by `manual_is_variant_and`

Issue - State: closed - Opened by Nugine 28 days ago
Labels: C-bug, I-suggestion-causes-bug

#15201 - Do not lint intrinsics as empty loops

Pull Request - State: closed - Opened by samueltardieu 28 days ago - 1 comment

#15200 - empty_loop triggers on function prototypes in core

Issue - State: closed - Opened by hkBst 28 days ago
Labels: C-bug, I-false-positive

#15199 - Useless _map variant

Issue - State: open - Opened by TomFryersMidsummer 29 days ago - 1 comment
Labels: A-lint

#15198 - `flat_map_identity` misses de- and re-structuring

Issue - State: open - Opened by TomFryersMidsummer 29 days ago - 1 comment
Labels: C-bug, I-false-negative

#15197 - clippy::cast_possible_truncation is too broad

Issue - State: open - Opened by demosdemon 30 days ago
Labels: C-feature-request

#15196 - Remove unneeded `.as_bytes()`

Pull Request - State: closed - Opened by samueltardieu 30 days ago - 3 comments

#15195 - `expect_fun_call` gives untypable suggestion

Issue - State: open - Opened by samueltardieu 30 days ago
Labels: C-bug, I-suggestion-causes-error

#15194 - `approx_const` misses constants when precise

Issue - State: open - Opened by teofr 30 days ago - 1 comment
Labels: C-bug, I-false-negative

#15193 - Supress `excessive_precision` when constants are overly precise

Pull Request - State: open - Opened by teofr about 1 month ago - 1 comment
Labels: S-waiting-on-review

#15192 - large_enum_variant propose a wrong solution for no_std

Issue - State: open - Opened by HaoboGu about 1 month ago - 3 comments
Labels: C-bug, good first issue, I-suggestion-causes-error

#15191 - fix `legacy_numeric_constants` suggestion when call is wrapped in parens

Pull Request - State: closed - Opened by ComputerDruid about 1 month ago - 5 comments

#15190 - Fictitious new lint

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 1 comment
Labels: A-lint, S-blocked

#15189 - Fictitious new lint

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 2 comments
Labels: S-waiting-on-review

#15188 - `single_match` does not apply because of type inference failure

Issue - State: open - Opened by matthiaskrgr about 1 month ago
Labels: C-bug, I-suggestion-causes-error

#15187 - ignored-unit-patterns suggestion is missing a reference

Issue - State: open - Opened by matthiaskrgr about 1 month ago
Labels: C-bug, I-suggestion-causes-error

#15186 - `explicit_auto_deref` causes ` cannot return reference to function parameter`

Issue - State: open - Opened by matthiaskrgr about 1 month ago
Labels: C-bug, I-suggestion-causes-error

#15185 - enum-glob-use causes `is defined multiple times` when identifier is shadowed

Issue - State: open - Opened by matthiaskrgr about 1 month ago
Labels: I-suggestion-causes-error

#15184 - bump ui_test to 0.30.1

Pull Request - State: closed - Opened by RalfJung about 1 month ago - 1 comment
Labels: S-waiting-on-review

#15183 - False negatives without build-std

Issue - State: open - Opened by mkroening about 1 month ago
Labels: C-bug, I-false-negative

#15182 - Do not remove `as` if it changes the type

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 1 comment

#15181 - Do not remove method call if type is adjusted

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 1 comment

#15180 - binary operation `!=` cannot be applied to type `tokio::sync::MutexGuard<'_, std::option::Option<std::net::IpAddr>>`

Issue - State: closed - Opened by RazeLighter777 about 1 month ago - 3 comments
Labels: C-bug, I-suggestion-causes-error

#15179 - FIX: NegMultiply should preserve parenthesis when method is called

Pull Request - State: closed - Opened by Zarathustra2 about 1 month ago - 2 comments

#15178 - More DRY code for const definitions that contain an as cast

Issue - State: open - Opened by leonardo-m about 1 month ago - 2 comments
Labels: A-lint

#15177 - Activate feature freeze automated notice

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 6 comments
Labels: S-waiting-on-review

#15176 - `unused_unit` reports confusing suggestion for trait objects with unnecessary parenthesisin the type

Issue - State: closed - Opened by sdroege about 1 month ago - 3 comments
Labels: C-bug, I-false-positive

#15175 - Do not autofix comments containing bare CR

Pull Request - State: open - Opened by samueltardieu about 1 month ago - 1 comment
Labels: S-waiting-on-review

#15174 - `four_forward_slashes` does not know that doc comments cannot contain "bare CR"

Issue - State: open - Opened by matthiaskrgr about 1 month ago
Labels: C-bug, I-suggestion-causes-error

#15173 - unnecessary_operation: breaks type inference

Issue - State: closed - Opened by matthiaskrgr about 1 month ago
Labels: C-bug, I-suggestion-causes-error

#15172 - Consider deref'ed argument as non-temporary

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 1 comment
Labels: S-waiting-on-review, beta-nominated, I-suggestion-causes-bug

#15171 - Lint to replace assignments in both if/then branches with a single one

Issue - State: open - Opened by leonardo-m about 1 month ago
Labels: A-lint

#15170 - `missing_panics_doc`: Allow `unwrap()` and `expect()` inside const-only contexts

Pull Request - State: closed - Opened by itsjunetime about 1 month ago - 6 comments
Labels: S-waiting-on-review

#15169 - `missing_panics_doc` falsely flags `unwrap()` and similar fns inside `const` blocks

Issue - State: closed - Opened by itsjunetime about 1 month ago
Labels: C-bug, I-false-positive

#15168 - `explicit_deref_methods` triggering from within macros

Issue - State: open - Opened by JustusFluegel about 1 month ago - 2 comments
Labels: C-bug, I-suggestion-causes-error, I-false-positive

#15167 - Polishing changelog update doc

Pull Request - State: closed - Opened by alex-semenyuk about 1 month ago
Labels: S-waiting-on-review

#15166 - `swap_with_temporary` mis-detects `MutexGuard`s as temporaries

Issue - State: closed - Opened by TheBlueMatt about 1 month ago - 1 comment
Labels: C-bug, I-false-positive, I-suggestion-causes-bug

#15165 - Fix `std-instead-of-core` FP when not all items come from the new crate

Pull Request - State: closed - Opened by profetia about 1 month ago - 7 comments

#15164 - Fix `cast_possible_truncation` should not suggest inside const context

Pull Request - State: closed - Opened by profetia about 1 month ago - 7 comments
Labels: S-waiting-on-review

#15163 - A possible bug with const definitions, and a lint suggestion

Issue - State: closed - Opened by leonardo-m about 1 month ago - 4 comments
Labels: C-bug, I-false-positive

#15162 - match_single_binding mangels `match match match` expr

Issue - State: open - Opened by matthiaskrgr about 1 month ago - 1 comment

#15161 - `undocumented_unsafe_blocks` requires incorrect word "SAFETY"

Issue - State: open - Opened by Kixunil about 1 month ago - 2 comments
Labels: C-bug, I-false-positive

#15160 - error[E0502] (cannot borrow with different mutability) in code permitted by Edition 2024

Issue - State: closed - Opened by dhardy about 1 month ago - 2 comments
Labels: C-bug

#15158 - False positive for collapsible_else_if with cfg feature usage

Issue - State: closed - Opened by catenacyber about 1 month ago - 5 comments
Labels: C-bug, I-false-positive

#15157 - fix infinite loop

Pull Request - State: open - Opened by odysa about 1 month ago

#15156 - Clippy panics on UTF-8 (Chinese) comments in protobuf-generated Rust code

Issue - State: closed - Opened by EMOAIRX about 1 month ago - 3 comments
Labels: C-bug

#15154 - Add new lint to detect dangling pointer return from closure

Pull Request - State: open - Opened by PitiBouchon about 1 month ago - 5 comments
Labels: S-waiting-on-review

#15152 - `zero_ptr`: lint in `const` context as well

Pull Request - State: closed - Opened by samueltardieu about 1 month ago - 1 comment
Labels: C-bug, S-waiting-on-review, I-false-negative

#15151 - `uninlined_format_args` should have stayed in `pedantic`

Issue - State: open - Opened by IceSentry about 1 month ago - 2 comments