diff options
| author | Michael Goulet <michael@errs.io> | 2023-09-13 16:04:42 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-10-13 21:01:36 +0000 | 
| commit | 59315b8a6346b9e2ed5a77eff2d8276101daa25b (patch) | |
| tree | da04fa03c6ccf428323b6cd77daee32e68d71c33 /compiler/rustc_lint/src/async_fn_in_trait.rs | |
| parent | 57ef8898520f7ff2c60341636bb86d94cb550e79 (diff) | |
| download | rust-59315b8a6346b9e2ed5a77eff2d8276101daa25b.tar.gz rust-59315b8a6346b9e2ed5a77eff2d8276101daa25b.zip | |
Stabilize AFIT and RPITIT
Diffstat (limited to 'compiler/rustc_lint/src/async_fn_in_trait.rs')
| -rw-r--r-- | compiler/rustc_lint/src/async_fn_in_trait.rs | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/compiler/rustc_lint/src/async_fn_in_trait.rs b/compiler/rustc_lint/src/async_fn_in_trait.rs index ff4c81e2fc9..53c5f4cd26e 100644 --- a/compiler/rustc_lint/src/async_fn_in_trait.rs +++ b/compiler/rustc_lint/src/async_fn_in_trait.rs @@ -11,7 +11,6 @@ declare_lint! { /// ### Example /// /// ```rust - /// # #![feature(async_fn_in_trait)] /// pub trait Trait { /// async fn method(&self); /// } @@ -33,7 +32,6 @@ declare_lint! { /// For example, this code is invalid: /// /// ```rust,compile_fail - /// # #![feature(async_fn_in_trait)] /// pub trait Trait { /// async fn method(&self) {} /// } @@ -51,7 +49,6 @@ declare_lint! { /// For example, instead of: /// /// ```rust - /// # #![feature(async_fn_in_trait)] /// pub trait Trait { /// async fn method(&self) {} /// } | 
