about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2025-02-12Rollup merge of #136900 - workingjubilee:format-externabi-directly, r=oli-obkGuillaume Gomez-4/+4
2025-02-11compiler: replace ExternAbi::name calls with formattersJubilee Young-4/+4
2025-02-11Handle pattern types wrapped in `Option` in FFI checksOli Scherer-0/+32
2025-02-11Correctly handle pattern types in FFI redeclaration lintsOli Scherer-58/+60
2025-02-11Correctly handle pattern types in FFI safetyOli Scherer-5/+3
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-09Remove lifetime_capture_rules_2024 featureMichael Goulet-4/+2
2025-02-09Rollup merge of #136760 - chenyukang:fix-overflowing-int-lint-crash, r=oli-obkMatthias Krüger-4/+7
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-407/+543
2025-02-09Fix unwrap error in overflowing int literalyukang-4/+7
2025-02-08Rustfmtbjorn3-407/+543
2025-02-08Rollup merge of #136657 - jdonszelmann:empty-line-after, r=y21,flip1995,Waffl...Matthias Krüger-0/+10
2025-02-07fix empty after lint on impl/trait itemsJonathan Dönszelmann-0/+10
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/+83
2025-01-26unrelated cleanupKalle Wachsmuth-10/+2
2025-01-25Rollup merge of #133951 - bjorn3:wasm_c_abi_lint_hard_error, r=workingjubileeJacob Pratt-5/+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-21/+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-5/+0
2025-01-23Rollup merge of #135552 - amy-kwan:amy-kwan/reprc-struct-diagnostic-power-ali...Matthias Krüger-5/+133
2025-01-23make `hir::Ty/ConstArg` methods generic where applicableBoxy-1/+1
2025-01-23`visit_x_unambig`Boxy-3/+3