about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2025-01-29Eliminate PatKind::PathOli Scherer-8/+10
2025-01-29Rollup merge of #136164 - celinval:chores-fnkind, r=oli-obkLeón Orell Valerian Liehr-3/+5
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-3/+5
2025-01-28Make item self/non-self bound naming less whackMichael Goulet-19/+16
2025-01-27Rollup merge of #136114 - compiler-errors:more-idents, r=jieyouxuGuillaume Gomez-6/+6
2025-01-27Remove redundant to_ident_string callsMichael Goulet-2/+2
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-4/+4
2025-01-26implement lint `double_negations`Kalle Wachsmuth-11/+88
2025-01-26unrelated cleanupKalle Wachsmuth-10/+2
2025-01-25Rollup merge of #133951 - bjorn3:wasm_c_abi_lint_hard_error, r=workingjubileeJacob Pratt-8/+0
2025-01-25Rollup merge of #136016 - Urgau:check-cfg-allow-test-improv, r=jieyouxuMatthias Krüger-4/+25
2025-01-25Rollup merge of #134300 - RalfJung:remove-dead-attrs, r=chenyukangMatthias Krüger-23/+2
2025-01-25Filter well known names from check-cfg diagnosticsUrgau-4/+25
2025-01-24Auto merge of #135272 - BoxyUwU:generic_arg_infer_reliability_2, r=compiler-e...bors-25/+23
2025-01-23Auto merge of #132666 - dingxiangfei2009:skip-if-let-rescope-lint, r=compiler...bors-6/+5
2025-01-23Make the wasm_c_abi future compat warning a hard errorbjorn3-8/+0
2025-01-23Rollup merge of #135552 - amy-kwan:amy-kwan/reprc-struct-diagnostic-power-ali...Matthias Krüger-5/+135
2025-01-23make `hir::Ty/ConstArg` methods generic where applicableBoxy-1/+1
2025-01-23`visit_x_unambig`Boxy-3/+3
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-25/+21
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-1/+3
2025-01-22Rollup merge of #132983 - Anthony-Eid:dangling-pointers-lint, r=UrgauMatthias Krüger-2/+6
2025-01-22[AIX] Lint on structs that have a different alignment in AIX's C ABIAmy Kwan-5/+135
2025-01-22Update lint tests with new dangling pointers messageAnthony Eid-2/+2
2025-01-21remove long-deprecated no-op attributes no_start and crate_idRalf Jung-23/+2
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-16Rollup merge of #135249 - s-cerevisiae:fix-overflowing-literals-help, r=cheny...Matthias Krüger-8/+23
2025-01-13Rollup merge of #135441 - compiler-errors:redundant-captures-lint, r=lqdJacob Pratt-1/+1
2025-01-13Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024Michael Goulet-1/+1
2025-01-12Update unstable lint docs to include required feature attributesAditya-PS-05-0/+1
2025-01-12Suggest the smallest fitting type insteadspore-2/+2
2025-01-11Minor simplificationspore-1/+1
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-1/+1
2025-01-09Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errorsMatthias Krüger-3/+3
2025-01-09Rollup merge of #135212 - Urgau:unreach_pub-upd-descr, r=petrochenkovMatthias Krüger-3/+2
2025-01-08Remove some unnecessary `.into()` callsEsteban Küber-3/+3
2025-01-08update cfg(bootstrap)Pietro Albini-1/+1
2025-01-09Extract integer conversion into a functionspore-16/+22
2025-01-08Detect overflow when the literal is negativespore-1/+7
2025-01-08Detect overflow when the literal is larger than i128::MAXspore-4/+7
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
2025-01-07Remove outdated information in the `unreachable_pub` lint descriptionUrgau-3/+2
2025-01-07Avoid naming variables `str`Josh Triplett-3/+3
2025-01-05Mention `unnameable_types` in `unreachable_pub` documentation.Kevin Reid-3/+5
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-3/+3
2025-01-01Rollup merge of #134979 - estebank:default-lint-sugg, r=compiler-errorsStuart Cook-8/+26
2024-12-31Provide structured suggestion for `impl Default` of type where all fields hav...Esteban Küber-8/+26
2024-12-31Account for format_args in HiddenUnicodeCodepoints lintMichael Goulet-26/+34
2024-12-31Account for C string literals in HiddenUnicodeCodepoints lintMichael Goulet-5/+19
2024-12-28Rollup merge of #134737 - estebank:deive-lint-default-fields-base, r=compiler...Stuart Cook-0/+188