Re: [PATCH v3 10/27] rust: pci: make Driver trait lifetime-parameterized

From: Eliot Courtney

Date: Wed May 20 2026 - 02:15:46 EST


On Tue May 19, 2026 at 9:36 PM JST, Danilo Krummrich wrote:
> On Tue May 19, 2026 at 1:48 PM CEST, Gary Guo wrote:
>> the callback should have `Pin<&Self::Data<'bound>>` instead (the outer
>> lifetime should be callback-scoped)`. Did you forget to make the change?
>
> Yes, I thought I had that staged already, but forgot about it; good catch,
> thanks!

I think this resolves my concern and it's nicer for drivers to use than
requiring covariance on their `Data` types. Thanks!