Open
Description
It can be a somewhat time-intensive task to collect all the relevant data about a feature in addition to just keeping on top of what things are getting stabilized. This is my todo list of stuff that's been stabilized and I've been meaning to add. Help in gathering data and putting it into the right format (simple example, complex example) would be much appreciated.
ToDo (stable):
ToDo (unstable):
Needs another update once stabilized
- Tracking issue for
#![feature(maybe_uninit_extra,const_maybe_uninit_write)]
rust-lang/rust#63567 - Tracking Issue for raw slice getters (slice_ptr_get) rust-lang/rust#74265
- Constify
std::net::IpAddr
,Ipv4Addr
, andIpv6Addr
rust-lang/rust#76205 - Tracking Issue for
Iterator::intersperse
rust-lang/rust#79524 - Tracking Issue for map_try_insert rust-lang/rust#82766
- Tracking Issue for assert_matches rust-lang/rust#82775
- Tracking Issue for const_swap rust-lang/rust#83163
- Tracking Issue for const_replace rust-lang/rust#83164
- Tracking Issue for split_array rust-lang/rust#90091
- Add
<[[T; N]]>::flatten{_mut}
rust-lang/rust#95579
Done:
- [tracking issue] dereferencing raw pointers inside constants (const_raw_ptr_deref) rust-lang/rust#51911
- Tracking issue for map_ok and map_err method for Poll<Option<Result<T, E>>> rust-lang/rust#63514
- Add core::future::{poll_fn, PollFn} rust-lang/rust#72303
- Stabilize move_ref_pattern rust-lang/rust#76119
- Stabilize enum
is_variant
methods as const rust-lang/rust#76225 - Tracking Issue for feature(int_bits_const): <integer>::BITS rust-lang/rust#76904
- Tracking issue for array::from_ref and array::from_mut rust-lang/rust#77101
- Implement TryFrom between NonZero types. rust-lang/rust#77339
- Tracking Issue for
atomic_fetch_update
rust-lang/rust#78639 - Tracking Issue for {BTreeMap,BTreeSet}::retain rust-lang/rust#79025
- Tracking Issue for feature(nonzero_leading_trailing_zeros) rust-lang/rust#79143
- Tracking issue: fNN::is_subnormal rust-lang/rust#79288
- Stabilize all stable methods of
Ipv4Addr
,Ipv6Addr
andIpAddr
as const rust-lang/rust#79342 - Add an impl of Error on
Arc<impl Error>
. rust-lang/rust#80553 -
impl PartialEq<Punct> for char
; symmetry for #78636 rust-lang/rust#80595 - Add Box::downcast() for dyn Any + Send + Sync rust-lang/rust#80945
- Stabilize
unsigned_abs
rust-lang/rust#80959 - Stabilize the poll_map feature rust-lang/rust#80968
- Stabilize core::task::ready! rust-lang/rust#81050
- Add NonZeroUn::is_power_of_two rust-lang/rust#81107
- Make ptr::write const rust-lang/rust#81167
- Tracking Issue for vec_extend_from_within rust-lang/rust#81656
- Make char and u8 methods const rust-lang/rust#82078
- Add functions
Duration::try_from_secs_{f32, f64}
rust-lang/rust#82179 - Stabilize
impl From<[(K, V); N]> for HashMap
(and friends) rust-lang/rust#84111 - Stablize {HashMap,BTreeMap}::into_{keys,values} rust-lang/rust#84328
- Stabilize File::options() rust-lang/rust#85766
- Stabilize
const_fn_transmute
,const_fn_union
rust-lang/rust#85769 - Implement Extend<(A, B)> for (Extend<A>, Extend<B>) rust-lang/rust#85835
- Stabilize span_open() and span_close(). rust-lang/rust#86136
- impl Pattern for char array rust-lang/rust#86336
- Split MaybeUninit::write into new feature gate and stabilize it rust-lang/rust#86344
- impl Default, Copy, Clone for std::io::Sink and Empty rust-lang/rust#86744
- Stabilize
Bound::cloned()
rust-lang/rust#86797 - Stabilize
[T; N]::map()
rust-lang/rust#87174 - Make
#[derive(A, B, ...)]
cfg-eval its input only forA, B, ...
and stabilizefeature(macro_attributes_in_derive_output)
rust-lang/rust#87220 - Stabilize try_reserve rust-lang/rust#87993
- Stabilise BufWriter::into_parts rust-lang/rust#88299
- Partially stabilize
array_methods
rust-lang/rust#88353 - Stabilize
UnsafeCell::raw_get()
rust-lang/rust#88551 - Implement
Termination
forResult<Infallible, E>
rust-lang/rust#88601 - Stabilize feature
saturating_div
for rust 1.58.0 rust-lang/rust#88624 - Stabilize
Iterator::map_while
rust-lang/rust#89086 - Stabilize
const_panic
rust-lang/rust#89508 - Stabilize
is_symlink()
forMetadata
andPath
rust-lang/rust#89677 - Stabilize
option_result_unwrap_unchecked
rust-lang/rust#89951 - stabilize format args capture rust-lang/rust#90473
- std: Stabilize the
thread_local_const_init
feature rust-lang/rust#91355 - Implement stabilization of
#[feature(available_parallelism)]
rust-lang/rust#92632 - Tracking issue for Vec::retain_mut and VecDeque::retain_mut rust-lang/rust#90829
- Tracking Issue for NonZeroUn::is_power_of_two (feature nonzero_is_power_of_two) rust-lang/rust#81106
- Tracking issue for
IntoFuture
rust-lang/rust#67644 - Stabilize
unreachable_unchecked
asconst fn
rust-lang/rust#89509 - Stabilize some
MaybeUninit
behavior as const rust-lang/rust#90896