Skip to content

Commit 046b67b

Browse files
committed
disable #[const_trait] on Destruct
We need to change how we handle it in the trait system before re-enabling it.
1 parent 67309f1 commit 046b67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ marker_impls! {
931931
#[lang = "destruct"]
932932
#[rustc_on_unimplemented(message = "can't drop `{Self}`", append_const_msg)]
933933
#[rustc_deny_explicit_impl(implement_via_object = false)]
934-
#[const_trait]
934+
// FIXME(effects) #[const_trait]
935935
pub trait Destruct {}
936936

937937
/// A marker for tuple types.

0 commit comments

Comments
 (0)