Skip to content

Commit c96e650

Browse files
fix lint
1 parent 353683e commit c96e650

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_lint/src/async_fn_in_trait.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ declare_lint! {
3333
///
3434
/// ```rust,compile_fail
3535
/// # #![feature(async_fn_in_trait)]
36+
/// # #![deny(async_fn_in_trait)]
3637
/// pub trait Trait {
3738
/// async fn method(&self) {}
3839
/// }

0 commit comments

Comments
 (0)