about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2025-02-18update version placeholdersJosh Stone-1/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-5/+5
2025-02-17Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=UrgauMatthias Krüger-3/+11
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-6/+6
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-12/+10
2025-02-16invalid_from_utf8[_unchecked]: also lint inherent methodsPavel Grigorenko-3/+11
2025-02-15Remove unnecessary check code in unused_delimsyukang-24/+0
2025-02-12Auto merge of #135994 - 1c3t3a:rename-unsafe-ptr, r=oli-obkbors-1/+1
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-8/+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/+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