Skip to content

Commit 35657c0

Browse files
committed
relax Move bounds on Unsized
1 parent 0a4fc48 commit 35657c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pub trait PointeeSized {
237237
#[lang = "unsize"]
238238
#[rustc_deny_explicit_impl]
239239
#[rustc_do_not_implement_via_object]
240-
pub trait Unsize<T: PointeeSized>: PointeeSized {
240+
pub trait Unsize<T: PointeeSized + ?crate::marker::Move>: PointeeSized {
241241
// Empty.
242242
}
243243

0 commit comments

Comments
 (0)