about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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-1/+3
2025-01-22[AIX] Lint on structs that have a different alignment in AIX's C ABIAmy Kwan-5/+133
2025-01-21remove long-deprecated no-op attributes no_start and crate_idRalf Jung-21/+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
2024-12-18Rollup merge of #134460 - oli-obk:push-ysuklyupnzpq, r=jieyouxu许杰友 Jieyou Xu (Joe)-21/+5
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-2/+2
2024-12-18Merge some patterns togetherOli Scherer-21/+5
2024-12-18Auto merge of #134243 - nnethercote:re-export-more-rustc_span, r=jieyouxubors-41/+24
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-41/+24
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-2/+2
2024-12-17Use field init shorthand where possibleJosh Triplett-1/+1
2024-12-17Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviperMatthias Krüger-2/+2
2024-12-17Auto merge of #134381 - jdonszelmann:move-attribute-types, r=oli-obkbors-8/+7