about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/map_unit_fn.rs
AgeCommit message (Expand)AuthorLines
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