1
Fork 0

Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_check, implement const Iterator and DoubleEndedIterator for Range.

This commit is contained in:
onestacked 2023-02-04 17:48:46 +01:00
parent 7bc67ef6e0
commit 8a9d6bf4fd
9 changed files with 70 additions and 24 deletions

View file

@ -123,6 +123,7 @@
#![feature(const_index_range_slice_index)]
#![feature(const_inherent_unchecked_arith)]
#![feature(const_int_unchecked_arith)]
#![feature(const_intoiterator_identity)]
#![feature(const_intrinsic_forget)]
#![feature(const_ipv4)]
#![feature(const_ipv6)]