Skip to content

Commit 22607a7

Browse files
add the missing qualification path to Unsize
1 parent 36e9396 commit 22607a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/kernel/list/arc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ where
447447
#[cfg(not(CONFIG_RUST_COERCE_POINTEE))]
448448
impl<T, U, const ID: u64> core::ops::CoerceUnsized<ListArc<U, ID>> for ListArc<T, ID>
449449
where
450-
T: ListArcSafe<ID> + Unsize<U> + ?Sized,
450+
T: ListArcSafe<ID> + core::marker::Unsize<U> + ?Sized,
451451
U: ListArcSafe<ID> + ?Sized,
452452
{
453453
}
@@ -457,7 +457,7 @@ where
457457
#[cfg(not(CONFIG_RUST_COERCE_POINTEE))]
458458
impl<T, U, const ID: u64> core::ops::DispatchFromDyn<ListArc<U, ID>> for ListArc<T, ID>
459459
where
460-
T: ListArcSafe<ID> + Unsize<U> + ?Sized,
460+
T: ListArcSafe<ID> + core::marker::Unsize<U> + ?Sized,
461461
U: ListArcSafe<ID> + ?Sized,
462462
{
463463
}

0 commit comments

Comments
 (0)