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