We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353683e commit c96e650Copy full SHA for c96e650
compiler/rustc_lint/src/async_fn_in_trait.rs
@@ -33,6 +33,7 @@ declare_lint! {
33
///
34
/// ```rust,compile_fail
35
/// # #![feature(async_fn_in_trait)]
36
+ /// # #![deny(async_fn_in_trait)]
37
/// pub trait Trait {
38
/// async fn method(&self) {}
39
/// }
0 commit comments