about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-0/+1
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-11Auto merge of #138302 - matthiaskrgr:rollup-an2up80, r=matthiaskrgrbors-1/+1
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-10Rollup merge of #138270 - StevenMia:master, r=compiler-errorsMatthias Krüger-1/+1
2025-03-09chore: Fix some commentsStevenMia-1/+1
2025-03-09Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxuMatthias Krüger-1/+0
2025-03-08[AIX] Ignore linting on repr(C) structs with repr(packed) or repr(align(n))Amy Kwan-0/+6
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-07Rollup merge of #138150 - nnethercote:streamline-intravisit-visit_id, r=oli-obkMatthias Krüger-1/+1
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-1/+8
2025-03-07Add helper methods checking for "#[non_exhaustive] that's active"Maja Kądziołka-19/+7
2025-03-07Move `visit_id` calls.Nicholas Nethercote-1/+1