Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2e3373c

Browse files
authoredMay 2, 2023
Rollup merge of #111048 - compiler-errors:rpitit-not-incomplete, r=jackh726
Mark`feature(return_position_impl_trait_in_trait)` and`feature(async_fn_in_trait)` as not incomplete I think they've graduated, since as far as I'm aware, they don't cause compiler crashes or unsoundness anymore.
2 parents 40c4ed4 + 7411468 commit 2e3373c

File tree

48 files changed

+59
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+59
-363
lines changed
 

‎compiler/rustc_feature/src/active.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ declare_features! (
310310
/// Allows `async || body` closures.
311311
(active, async_closure, "1.37.0", Some(62290), None),
312312
/// Allows async functions to be declared, implemented, and used in traits.
313-
(incomplete, async_fn_in_trait, "1.66.0", Some(91611), None),
313+
(active, async_fn_in_trait, "1.66.0", Some(91611), None),
314314
/// Treat `extern "C"` function as nounwind.
315315
(active, c_unwind, "1.52.0", Some(74990), None),
316316
/// Allows using C-variadics.
@@ -494,7 +494,7 @@ declare_features! (
494494
/// Allows `repr(simd)` and importing the various simd intrinsics.
495495
(active, repr_simd, "1.4.0", Some(27731), None),
496496
/// Allows return-position `impl Trait` in traits.
497-
(incomplete, return_position_impl_trait_in_trait, "1.65.0", Some(91611), None),
497+
(active, return_position_impl_trait_in_trait, "1.65.0", Some(91611), None),
498498
/// Allows bounding the return type of AFIT/RPITIT.
499499
(incomplete, return_type_notation, "1.70.0", Some(109417), None),
500500
/// Allows `extern "rust-cold"`.

‎tests/ui/associated-type-bounds/return-type-notation/bad-inputs-and-output.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#![feature(return_type_notation, async_fn_in_trait)]
44
//~^ WARN the feature `return_type_notation` is incomplete
5-
//~| WARN the feature `async_fn_in_trait` is incomplete
65

76
trait Trait {
87
async fn method() {}

0 commit comments

Comments
 (0)
Please sign in to comment.