Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RPIT in default async trait method #108304

Closed
Swatinem opened this issue Feb 21, 2023 · 0 comments · Fixed by #114267
Closed

Fix RPIT in default async trait method #108304

Swatinem opened this issue Feb 21, 2023 · 0 comments · Fixed by #114267
Assignees
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.

Comments

@Swatinem
Copy link
Contributor

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

@compiler-errors compiler-errors self-assigned this Feb 21, 2023
@Noratrieb Noratrieb added C-bug Category: This is a bug. F-return_position_impl_trait_in_trait `#![feature(return_position_impl_trait_in_trait)]` A-async-await Area: Async & Await F-async_fn_in_trait Static async fn in traits T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 23, 2023
@eholk eholk added the AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. label Feb 27, 2023
@bors bors closed this as completed in 692d764 Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
Development

Successfully merging a pull request may close this issue.

4 participants