Re: [PATCH] rust: pin-init: replace shadowed return token by `unsafe`-to-create token
From: Danilo Krummrich
Date: Wed Mar 11 2026 - 09:05:25 EST
On Wed Mar 11, 2026 at 11:50 AM CET, Benno Lossin wrote:
> In the face of Type Alias Impl Trait (TAIT) and the next trait solver,
> this solution no longer works [1]. The shadowed struct can be named
> through type inference. In addition, there is an RFC proposing to add
> the feature of path inference to Rust, which would similarly allow [2]
NIT: I'm not sure if the sentence is supposed to end here, at least it misses a
period.
Besides that, is my understanding correct that the changes mentioned above are
targeting a subsequent Rust edition?