Skip to content

Fix RPIT in default async trait method #108304

Closed
@Swatinem

Description

@Swatinem

Removing the identity_future from the async lowering in #104833 will regress the tests/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

Metadata

Metadata

Labels

A-async-awaitArea: Async & AwaitAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.C-bugCategory: This is a bug.F-async_fn_in_traitStatic async fn in traitsF-return_position_impl_trait_in_trait`#![feature(return_position_impl_trait_in_trait)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions