We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03e8b6b + 14285e9 commit d1701a5Copy full SHA for d1701a5
compiler/rustc_lint/src/async_closures.rs
@@ -12,6 +12,7 @@ declare_lint! {
12
/// ### Example
13
///
14
/// ```rust
15
+ /// #![feature(async_closure)]
16
/// #![warn(closure_returning_async_block)]
17
/// let c = |x: &str| async {};
18
/// ```
0 commit comments