Re: [PATCH v4 10/27] rust: device: make Core and CoreInternal lifetime-parameterized

From: Eliot Courtney

Date: Mon May 25 2026 - 00:22:02 EST


On Fri May 22, 2026 at 8:34 AM JST, Danilo Krummrich wrote:
> Device<Core> references in probe callbacks are scoped to the callback,
> not the full binding duration. Add a lifetime parameter to Core and
> CoreInternal to accurately represent this in the type system.
>
> Suggested-by: Gary Guo <gary@xxxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> ---

Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>