Re: [PATCH] rust: irq: make Registration compatible with lifetime-bound drivers

From: Alice Ryhl

Date: Tue Jul 07 2026 - 10:09:04 EST


On Fri, Jul 03, 2026 at 11:09:21PM +0200, Danilo Krummrich wrote:
> -impl<T: ?Sized + Handler + Send> Handler for Arc<T> {
> - fn handle(&self, device: &Device<Bound>) -> IrqReturn {
> - T::handle(self, device)
> - }
> -}
> -
> -impl<T: ?Sized + Handler, A: Allocator + 'static> Handler for Box<T, A> {
> - fn handle(&self, device: &Device<Bound>) -> IrqReturn {
> - T::handle(self, device)
> - }

Why are the implementations for Arc/Box being removed?

Alice