Skip to content

Commit

Permalink
Deduplicate checking drop terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Nov 22, 2024
1 parent 6f3ec5c commit bc77567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ marker_impls! {
///
/// This should be used for `~const` bounds,
/// as non-const bounds will always hold for every type.
#[unstable(feature = "const_destruct", issue = "10")]
#[unstable(feature = "const_destruct", issue = "133214")]
#[lang = "destruct"]
#[rustc_on_unimplemented(message = "can't drop `{Self}`", append_const_msg)]
#[rustc_deny_explicit_impl(implement_via_object = false)]
Expand Down

0 comments on commit bc77567

Please sign in to comment.