Shorthand projections inside RPITITs fail to resolve #132372
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-type-system
Area: Type system
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
S-has-bisection
Status: a bisection has been found for this issue
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Recent rust nigthly version can't compile previously working code, duo to compiler not being able to find associated type inside a "async fn in trait" definition.
Code
Compiling this code:
I expected to see this happen: In previous version up to
nightly-2024-10-28
this code compiledInstead, this happened: It stoped compiling with the error
Version it worked on
nightly-2024-10-28
Version with regression
nightly-2024-10-29
rustc --version --verbose
:No, code just stops compiling.
The text was updated successfully, but these errors were encountered: