We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Destruct
1 parent 676d9cf commit 519d6cdCopy full SHA for 519d6cd
1 file changed
library/core/src/marker.rs
@@ -1057,7 +1057,7 @@ marker_impls! {
1057
#[rustc_on_unimplemented(message = "can't drop `{Self}`", append_const_msg)]
1058
#[rustc_deny_explicit_impl]
1059
#[rustc_do_not_implement_via_object]
1060
-pub const trait Destruct {}
+pub const trait Destruct: PointeeSized {}
1061
1062
/// A marker for tuple types.
1063
///
0 commit comments