impl_trait_projections
incorrectly triggers on async inherent method
#110156
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e7e126b11bc02ef4c8bc28e0d85e0cf0
I expected to see the code compile.
Instead, this happened:
Fails on nightly (apr 10), beta (1.69), stable (1.68).
Curiously, this code doesn't fail:
... nor does changing the return type to
<T as IntoBar<'_>>::Bar
...The text was updated successfully, but these errors were encountered: