about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/async_closures.rs
AgeCommit message (Collapse)AuthorLines
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
The end goal is to eliminate `Map` altogether. I added a `hir_` prefix to all of them, that seemed simplest. The exceptions are `module_items` which became `hir_module_free_items` because there was already a `hir_module_items`, and `items` which became `hir_free_items` for consistency with `hir_module_free_items`.
2024-12-13Stabilize async closuresMichael Goulet-4/+0
2024-09-14docs: Enable required feature for 'closure_returning_async_block' lintFayti1703-0/+1
Failing to do this results in the lint example output complaining about the lint not existing instead of the thing the lint is supposed to be complaining about.
2024-06-28Make it into a structured suggestion, maybe-incorrectMichael Goulet-2/+21
2024-06-28Basic lint detecting closure-returning-async-blockMichael Goulet-0/+110