File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -957,6 +957,7 @@ marker_impls! {
957957#[ lang = "destruct" ]
958958#[ rustc_on_unimplemented( message = "can't drop `{Self}`" , append_const_msg) ]
959959#[ rustc_deny_explicit_impl( implement_via_object = false ) ]
960+ #[ cfg_attr( not( bootstrap) , const_trait) ]
960961pub trait Destruct { }
961962
962963/// A marker for tuple types.
Original file line number Diff line number Diff line change 203203/// [nomicon]: ../../nomicon/phantom-data.html#an-exception-the-special-case-of-the-standard-library-and-its-unstable-may_dangle
204204#[ lang = "drop" ]
205205#[ stable( feature = "rust1" , since = "1.0.0" ) ]
206- // FIXME(const_trait_impl) #[ const_trait]
206+ # [ cfg_attr ( not ( bootstrap ) , const_trait) ]
207207pub trait Drop {
208208 /// Executes the destructor for this type.
209209 ///
You can’t perform that action at this time.
0 commit comments