Re-exportsยง
use rustc_hir as hir;๐use rustc_lint_defs::declare_lint;๐use rustc_lint_defs::declare_lint_pass;๐use rustc_macros::Diagnostic;๐use rustc_macros::Subdiagnostic;๐use rustc_span::Span;๐use crate::LateContext;๐use crate::LateLintPass;๐
Structsยง
- Async
Closure ๐Sugg - Async
Closure Usage - Lint for potential usages of async closures and async fn trait bounds.
- Closure
Returning ๐Async Block
Staticsยง
- CLOSURE_
RETURNING_ ASYNC_ BLOCK - The
closure_returning_async_blocklint detects cases where users write a closure that returns an async block.