about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-15/+14
2025-04-04Do not visit whole crate to compute `lints_that_dont_need_to_run`.Camille GILLOT-90/+27
2025-04-03Rollup merge of #138610 - oli-obk:no-sort-hir-ids, r=compiler-errorsMatthias Krüger-67/+72
2025-04-03Remove `LintExpectationId` from `Level` variantsOli Scherer-55/+50
2025-04-03Make LevelAndSource a structOli Scherer-33/+43
2025-04-03Use `BinOpKind` instead of `BinOp` for function args where possible.Nicholas Nethercote-24/+21
2025-04-02Rollup merge of #139232 - nnethercote:remove-Map-5, r=ZalatharTakayuki Maeda-2/+2
2025-04-02Rollup merge of #139184 - Urgau:crate-root-lint-levels, r=jieyouxuTakayuki Maeda-0/+14
2025-04-02Remove `recursion_limit` increases.Nicholas Nethercote-1/+0
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-2/+2
2025-04-01check_struct_for_power_alignment: simplify codeRalf Jung-15/+6
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-12/+14
2025-03-31Expose `LintLevelsBuilder` with crate root builderUrgau-0/+14
2025-03-31Auto merge of #119220 - Urgau:uplift-invalid_null_ptr_usage, r=fee1-deadbors-62/+192
2025-03-30Uplift `clippy::invalid_null_ptr_usage` as `invalid_null_arguments`Urgau-4/+120
2025-03-30Auto merge of #138206 - amy-kwan:amy-kwan/reprc-struct-power-align-ignore-pac...bors-0/+6
2025-03-30Improve explicitness of the impl of the `useless_ptr_null_checks` lintUrgau-17/+17
2025-03-30Expose `peel_casts` method as an util method inside `rustc_lint`Urgau-43/+57
2025-03-28uses_power_alignment: wording tweaksRalf Jung-6/+8
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-15/+14
2025-03-27Rollup merge of #138964 - compiler-errors:usage-of-interner, r=lcnrStuart Cook-42/+92
2025-03-26Add environment variable tracking in places where it was convenientMads Marquart-2/+4
2025-03-26Implement lint against using Interner and InferCtxtLike in random compiler cr...Michael Goulet-3/+42
2025-03-26hir::-ify internal lintsMichael Goulet-39/+50
2025-03-25Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errorsMatthias Krüger-2/+2
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-2/+2
2025-03-25Use `Option<Symbol>` in `panic_call`.Nicholas Nethercote-5/+8
2025-03-20Rollup merge of #138685 - nnethercote:use-Option-Ident-for-lowered-param-name...Matthias Krüger-1/+3
2025-03-20Add `#[repr(u128)]`/`#[repr(i128)]` enums to `improper_ctypes_definitions`beetrees-1/+11
2025-03-19Rollup merge of #138001 - meithecatte:privately-uninhabited, r=NadrierilMatthias Krüger-19/+7
2025-03-19Use `Option<Ident>` for lowered param names.Nicholas Nethercote-1/+3
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-29/+35
2025-03-15Stop relying on rustc_type_ir in non-type-system cratesMichael Goulet-37/+39
2025-03-15Fold visit into tyMichael Goulet-4/+3
2025-03-15Squash fold into tyMichael Goulet-2/+1
2025-03-15Rollup merge of #138474 - remexre:refactor-is-snake-case, r=compiler-errorsLeón Orell Valerian Liehr-12/+7
2025-03-14Rollup merge of #138434 - compiler-errors:lint-level-pat-field, r=jieyouxuJacob Pratt-0/+5
2025-03-13Refactor is_snake_case.Diane Ringo-12/+7
2025-03-13Auto merge of #138416 - Manishearth:rollup-fejor9p, r=Manishearthbors-11/+12
2025-03-13Visit PatField when collecting lint levelsMichael Goulet-0/+5
2025-03-12Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgrbors-1/+0
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Manish Goregaokar-1/+0
2025-03-12Rollup merge of #137504 - nnethercote:remove-Map-4, r=ZalatharManish Goregaokar-11/+12
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Matthias Krüger-1/+0
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-0/+1
2025-03-12Rollup merge of #138360 - Urgau:fix-fp-expr_or_init, r=wesleywiserMatthias Krüger-2/+14
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-10/+11
2025-03-12Rename `hir_attrs` query as `hir_attr_map`.Nicholas Nethercote-1/+1
2025-03-11Fix false-positive in `expr_or_init` and in the `invalid_from_utf8` lintUrgau-2/+14
2025-03-11Auto merge of #128440 - oli-obk:defines, r=lcnrbors-0/+1