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