Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Sep 30, 2023
1 parent 353683e commit c96e650
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_lint/src/async_fn_in_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ declare_lint! {
///
/// ```rust,compile_fail
/// # #![feature(async_fn_in_trait)]
/// # #![deny(async_fn_in_trait)]
/// pub trait Trait {
/// async fn method(&self) {}
/// }
Expand Down

0 comments on commit c96e650

Please sign in to comment.