about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
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-23Make cenum_impl_drop_cast a hard errorEric Huss-0/+5
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
2024-12-25Implement `default_overrides_default_fields` lintEsteban Küber-0/+188
2024-12-24Auto merge of #134625 - compiler-errors:unsafe-binders-ty, r=oli-obkbors-0/+2
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-6/+1
2024-12-22Begin to implement type system layer of unsafe bindersMichael Goulet-0/+2
2024-12-21Rollup merge of #134586 - Urgau:fn-ptr-lint-option, r=compiler-errorsMatthias Krüger-2/+20
2024-12-20Also lint on option of function pointer comparisonsUrgau-2/+20
2024-12-19Auto merge of #133961 - lcnr:borrowck-cleanup, r=jackh726bors-3/+3
2024-12-18Rollup merge of #134481 - estebank:unstable-lint-span, r=compiler-errorsJacob Pratt-1/+1
2024-12-18Point at lint name instead of whole attr for gated lintsEsteban Küber-1/+1
2024-12-18Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35...bors-1/+1
2024-12-18introduce `LateParamRegionKind`lcnr-3/+3