Skip to content

Commit 519d6cd

Browse files
committed
core: relax supertrait of Destruct
1 parent 676d9cf commit 519d6cd

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
@@ -1057,7 +1057,7 @@ marker_impls! {
10571057
#[rustc_on_unimplemented(message = "can't drop `{Self}`", append_const_msg)]
10581058
#[rustc_deny_explicit_impl]
10591059
#[rustc_do_not_implement_via_object]
1060-
pub const trait Destruct {}
1060+
pub const trait Destruct: PointeeSized {}
10611061

10621062
/// A marker for tuple types.
10631063
///

0 commit comments

Comments
 (0)