about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/map_unit_fn.rs
AgeCommit message (Expand)AuthorLines
2025-08-08Refactor map_unit_fn lintCameron Steffen-66/+37
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-1/+1
2025-07-28use let chains in hir, lint, mirKivooeo-58/+52
2025-07-05Stop using Key trait randomlyMichael Goulet-3/+2
2025-02-08Rustfmtbjorn3-14/+28
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-28/+14
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+5
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-2/+2
2023-03-15Fix #109152, fix the scenario that we may can not get span of funcyukang-2/+9
2023-02-23Emit `map_unit_fn` lint in closure caseObei Sideg-0/+16
2023-02-23Add lint against `Iterator::map` receiving a callable that returns `()`Obei Sideg-0/+104