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 @@ -264,7 +264,7 @@ pub trait IntoIterator {
264264
265265#[ rustc_const_unstable( feature = "const_intoiterator_identity" , issue = "90603" ) ]
266266#[ stable( feature = "rust1" , since = "1.0.0" ) ]
267- impl < I : ~ const Iterator > const IntoIterator for I {
267+ impl < I : Iterator > const IntoIterator for I {
268268 type Item = I :: Item ;
269269 type IntoIter = I ;
270270
Original file line number Diff line number Diff line change @@ -799,6 +799,7 @@ impl<T: ?Sized> Unpin for *mut T {}
799799#[ unstable( feature = "const_trait_impl" , issue = "67792" ) ]
800800#[ lang = "destruct" ]
801801#[ rustc_on_unimplemented( message = "can't drop `{Self}`" , append_const_msg) ]
802+ #[ const_trait]
802803pub trait Destruct { }
803804
804805/// A marker for tuple types.
You can’t perform that action at this time.
0 commit comments