about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2025-02-06allow+update `deref_into_dyn_supertrait`Waffle Lapkin-13/+11
2025-02-06change `deref_into_dyn_supertrait` lint wordingWaffle Lapkin-5/+6
2025-02-06stabilize `feature(trait_upcasting)`Waffle Lapkin-1/+1
2025-02-06Rollup merge of #136393 - oli-obk:pattern-type-lit-oflo-checks, r=compiler-er...Matthias Krüger-32/+60
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-5/+24
2025-02-05Avoid passing around an `Expr` that is only needed for its HirId and its SpanOli Scherer-31/+40
2025-02-05Rollup merge of #135964 - ehuss:cenum_impl_drop_cast, r=Nadrieril许杰友 Jieyou Xu (Joe)-0/+5
2025-02-04Rollup merge of #136242 - samueltardieu:remove-match-def-path, r=flip1995Matthias Krüger-25/+1
2025-02-02Rollup merge of #136422 - nnethercote:convert-lint-functions, r=NoratriebMatthias Krüger-9/+8
2025-02-02Convert two `rustc_middle::lint` functions to `Span` methods.Nicholas Nethercote-9/+8
2025-02-01Rename `tcx.ensure()` to `tcx.ensure_ok()`Zalathar-1/+1
2025-01-31Rollup merge of #135860 - fmease:compiler-mv-obj-save-dyn-compat-ii, r=jieyouxuMatthias Krüger-1/+1
2025-01-30Auto merge of #136038 - compiler-errors:outlives, r=lcnrbors-4/+2
2025-01-29Eliminate PatKind::PathOli Scherer-8/+10
2025-01-29Remove `LateContext::match_def_path()`Samuel Tardieu-25/+1
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-28Move outlives env computation into methodsMichael Goulet-4/+2
2025-01-28Consolidate OutlivesEnv construction with resolve_regionsMichael Goulet-1/+1
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-26Compiler: Finalize dyn compatibility renamingLeón Orell Valerian Liehr-1/+1
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-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