Fix RPIT in default async trait method #108304
Labels
A-async-await
Area: Async & Await
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
F-async_fn_in_trait
Static async fn in traits
F-return_position_impl_trait_in_trait
`#![feature(return_position_impl_trait_in_trait)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Removing the
identity_future
from the async lowering in #104833 will regress thetests/ui/impl-trait/in-trait/default-body-with-rpit.rs
test.This is deemed acceptable for now as that feature is still unstable, as long as we track progress to fix it, hence this issue.
See also #104833 (comment), CC @compiler-errors
The text was updated successfully, but these errors were encountered: