The Unstable Book
1.
Compiler flags
1.1.
branch_protection
1.2.
cf_protection
1.3.
check_cfg
1.4.
codegen_backend
1.5.
control_flow_guard
1.6.
debug_info_for_profiling
1.7.
emit_stack_sizes
1.8.
extern_location
1.9.
location_detail
1.10.
move_size_limit
1.11.
no_unique_section_names
1.12.
profile
1.13.
profile_sample_use
1.14.
remap_cwd_prefix
1.15.
report_time
1.16.
sanitizer
1.17.
self_profile
1.18.
self_profile_events
1.19.
src_hash_algorithm
1.20.
temps_dir
1.21.
tls_model
1.22.
unsound_mir_opts
2.
Language features
2.1.
aarch64_ver_target_feature
2.2.
abi_amdgpu_kernel
2.3.
abi_avr_interrupt
2.4.
abi_c_cmse_nonsecure_call
2.5.
abi_efiapi
2.6.
abi_msp430_interrupt
2.7.
abi_ptx
2.8.
abi_thiscall
2.9.
abi_unadjusted
2.10.
abi_vectorcall
2.11.
abi_x86_interrupt
2.12.
adt_const_params
2.13.
alloc_error_handler
2.14.
allocator_internals
2.15.
allow_internal_unsafe
2.16.
allow_internal_unstable
2.17.
arbitrary_enum_discriminant
2.18.
arbitrary_self_types
2.19.
arm_target_feature
2.20.
asm_const
2.21.
asm_experimental_arch
2.22.
asm_sym
2.23.
asm_unwind
2.24.
associated_const_equality
2.25.
associated_type_bounds
2.26.
associated_type_defaults
2.27.
async_closure
2.28.
auto_traits
2.29.
avx512_target_feature
2.30.
box_patterns
2.31.
box_syntax
2.32.
bpf_target_feature
2.33.
c_unwind
2.34.
c_variadic
2.35.
capture_disjoint_fields
2.36.
cfg_sanitize
2.37.
cfg_target_abi
2.38.
cfg_target_has_atomic
2.39.
cfg_target_has_atomic_equal_alignment
2.40.
cfg_target_thread_local
2.41.
cfg_version
2.42.
closure_track_caller
2.43.
cmpxchg16b_target_feature
2.44.
cmse_nonsecure_entry
2.45.
compiler_builtins
2.46.
const_async_blocks
2.47.
const_eval_limit
2.48.
const_extern_fn
2.49.
const_fn_floating_point_arithmetic
2.50.
const_for
2.51.
const_mut_refs
2.52.
const_precise_live_drops
2.53.
const_refs_to_cell
2.54.
const_trait_impl
2.55.
const_try
2.56.
crate_visibility_modifier
2.57.
custom_inner_attributes
2.58.
custom_test_frameworks
2.59.
decl_macro
2.60.
default_alloc_error_handler
2.61.
default_type_parameter_fallback
2.62.
deprecated_safe
2.63.
deprecated_suggestion
2.64.
derive_default_enum
2.65.
doc_auto_cfg
2.66.
doc_cfg
2.67.
doc_cfg_hide
2.68.
doc_masked
2.69.
doc_notable_trait
2.70.
dropck_eyepatch
2.71.
ermsb_target_feature
2.72.
exclusive_range_pattern
2.73.
exhaustive_patterns
2.74.
explicit_generic_args_with_impl_trait
2.75.
extern_types
2.76.
f16c_target_feature
2.77.
ffi_const
2.78.
ffi_pure
2.79.
ffi_returns_twice
2.80.
fn_align
2.81.
fundamental
2.82.
generators
2.83.
generic_arg_infer
2.84.
generic_associated_types
2.85.
generic_associated_types_extended
2.86.
generic_const_exprs
2.87.
half_open_range_patterns
2.88.
hexagon_target_feature
2.89.
if_let_guard
2.90.
imported_main
2.91.
infer_static_outlives_requirements
2.92.
inherent_associated_types
2.93.
inline_const
2.94.
inline_const_pat
2.95.
intra_doc_pointers
2.96.
intrinsics
2.97.
isa_attribute
2.98.
label_break_value
2.99.
lang_items
2.100.
large_assignments
2.101.
let_chains
2.102.
let_else
2.103.
link_cfg
2.104.
link_llvm_intrinsics
2.105.
linkage
2.106.
lint_reasons
2.107.
macro_metavar_expr
2.108.
marker_trait_attr
2.109.
min_specialization
2.110.
mips_target_feature
2.111.
more_qualified_paths
2.112.
movbe_target_feature
2.113.
must_not_suspend
2.114.
naked_functions
2.115.
native_link_modifiers_as_needed
2.116.
native_link_modifiers_bundle
2.117.
native_link_modifiers_verbatim
2.118.
needs_panic_runtime
2.119.
negative_impls
2.120.
never_type
2.121.
never_type_fallback
2.122.
nll
2.123.
no_core
2.124.
no_coverage
2.125.
no_niche
2.126.
no_sanitize
2.127.
non_exhaustive_omitted_patterns_lint
2.128.
object_safe_for_dispatch
2.129.
omit_gdb_pretty_printer_section
2.130.
optimize_attribute
2.131.
panic_runtime
2.132.
platform_intrinsics
2.133.
plugin
2.134.
powerpc_target_feature
2.135.
precise_pointer_size_matching
2.136.
prelude_import
2.137.
proc_macro_hygiene
2.138.
profiler_runtime
2.139.
raw_dylib
2.140.
raw_ref_op
2.141.
register_attr
2.142.
register_tool
2.143.
repr_simd
2.144.
repr128
2.145.
riscv_target_feature
2.146.
rtm_target_feature
2.147.
rustc_allow_const_fn_unstable
2.148.
rustc_attrs
2.149.
rustc_private
2.150.
rustdoc_internals
2.151.
simd_ffi
2.152.
specialization
2.153.
sse4a_target_feature
2.154.
staged_api
2.155.
start
2.156.
static_nobundle
2.157.
stmt_expr_attributes
2.158.
structural_match
2.159.
target_feature_11
2.160.
tbm_target_feature
2.161.
test_2018_feature
2.162.
test_unstable_lint
2.163.
thread_local
2.164.
trait_alias
2.165.
trait_upcasting
2.166.
transparent_unions
2.167.
trivial_bounds
2.168.
try_blocks
2.169.
type_alias_impl_trait
2.170.
type_ascription
2.171.
type_changing_struct_update
2.172.
unboxed_closures
2.173.
unsafe_pin_internals
2.174.
unsized_fn_params
2.175.
unsized_locals
2.176.
unsized_tuple_coercion
2.177.
untagged_unions
2.178.
used_with_arg
2.179.
wasm_abi
2.180.
wasm_target_feature
2.181.
with_negative_coherence
3.
Library Features
3.1.
absolute_path
3.2.
alloc_error_hook
3.3.
alloc_internals
3.4.
alloc_layout_extra
3.5.
allocator_api
3.6.
arc_unwrap_or_clone
3.7.
array_chunks
3.8.
array_error_internals
3.9.
array_from_fn
3.10.
array_into_iter_constructors
3.11.
array_methods
3.12.
array_try_map
3.13.
array_windows
3.14.
array_zip
3.15.
as_array_of_cells
3.16.
assert_matches
3.17.
async_iter_from_iter
3.18.
async_iterator
3.19.
atomic_from_mut
3.20.
atomic_mut_ptr
3.21.
backtrace
3.22.
backtrace_frames
3.23.
bench_black_box
3.24.
bigint_helper_methods
3.25.
binary_heap_as_slice
3.26.
binary_heap_drain_sorted
3.27.
binary_heap_into_iter_sorted
3.28.
binary_heap_retain
3.29.
bool_to_option
3.30.
bound_as_ref
3.31.
bound_map
3.32.
box_into_boxed_slice
3.33.
box_into_inner
3.34.
box_into_pin
3.35.
btree_drain_filter
3.36.
buf_read_has_data_left
3.37.
build_hasher_simple_hash_one
3.38.
byte_slice_trim_ascii
3.39.
c_size_t
3.40.
c_void_variant
3.41.
can_vector
3.42.
cell_filter_map
3.43.
cell_leak
3.44.
cell_update
3.45.
cfg_accessible
3.46.
cfg_eval
3.47.
char_error_internals
3.48.
char_indices_offset
3.49.
char_internals
3.50.
coerce_unsized
3.51.
concat_bytes
3.52.
concat_idents
3.53.
const_align_of_val
3.54.
const_align_of_val_raw
3.55.
const_align_offset
3.56.
const_alloc_error
3.57.
const_alloc_layout
3.58.
const_arguments_as_str
3.59.
const_array_from_ref
3.60.
const_array_into_iter_constructors
3.61.
const_assert_type2
3.62.
const_assume
3.63.
const_bigint_helper_methods
3.64.
const_black_box
3.65.
const_bool_to_option
3.66.
const_borrow
3.67.
const_box
3.68.
const_btree_new
3.69.
const_caller_location
3.70.
const_cell_into_inner
3.71.
const_char_convert
3.72.
const_clone
3.73.
const_convert
3.74.
const_cow_is_borrowed
3.75.
const_default_impls
3.76.
const_deref
3.77.
const_discriminant
3.78.
const_eval_select
3.79.
const_float_bits_conv
3.80.
const_float_classify
3.81.
const_fmt_arguments_new
3.82.
const_format_args
3.83.
const_heap
3.84.
const_inherent_unchecked_arith
3.85.
const_int_unchecked_arith
3.86.
const_intrinsic_copy
3.87.
const_intrinsic_forget
3.88.
const_intrinsic_raw_eq
3.89.
const_io_structs
3.90.
const_ip
3.91.
const_ipv4
3.92.
const_ipv6
3.93.
const_is_char_boundary
3.94.
const_likely
3.95.
const_maybe_uninit_as_mut_ptr
3.96.
const_maybe_uninit_assume_init
3.97.
const_maybe_uninit_assume_init_read
3.98.
const_maybe_uninit_write
3.99.
const_maybe_uninit_zeroed
3.100.
const_nonnull_new
3.101.
const_nonnull_slice_from_raw_parts
3.102.
const_num_from_num
3.103.
const_ops
3.104.
const_option
3.105.
const_option_cloned
3.106.
const_option_ext
3.107.
const_pin
3.108.
const_pref_align_of
3.109.
const_ptr_as_ref
3.110.
const_ptr_is_null
3.111.
const_ptr_offset_from
3.112.
const_ptr_read
3.113.
const_ptr_write
3.114.
const_raw_ptr_comparison
3.115.
const_replace
3.116.
const_result
3.117.
const_result_drop
3.118.
const_size_of_val
3.119.
const_size_of_val_raw
3.120.
const_slice_first_last
3.121.
const_slice_from_raw_parts
3.122.
const_slice_from_ref
3.123.
const_slice_index
3.124.
const_slice_ptr_len
3.125.
const_socketaddr
3.126.
const_str_from_utf8
3.127.
const_str_from_utf8_unchecked_mut
3.128.
const_swap
3.129.
const_transmute_copy
3.130.
const_type_id
3.131.
const_type_name
3.132.
const_unsafecell_get_mut
3.133.
const_weak_new
3.134.
container_error_extra
3.135.
control_flow_enum
3.136.
convert_float_to_int
3.137.
core_ffi_c
3.138.
core_intrinsics
3.139.
core_panic
3.140.
core_private_bignum
3.141.
core_private_diy_float
3.142.
cow_is_borrowed
3.143.
cstr_from_bytes_until_nul
3.144.
cursor_remaining
3.145.
deadline_api
3.146.
dec2flt
3.147.
default_free_fn
3.148.
derive_clone_copy
3.149.
derive_eq
3.150.
dir_entry_ext2
3.151.
discriminant_kind
3.152.
dispatch_from_dyn
3.153.
div_duration
3.154.
downcast_unchecked
3.155.
drain_filter
3.156.
duration_checked_float
3.157.
duration_constants
3.158.
duration_consts_float
3.159.
edition_panic
3.160.
entry_insert
3.161.
error_iter
3.162.
error_reporter
3.163.
error_type_id
3.164.
exact_size_is_empty
3.165.
exit_status_error
3.166.
extend_one
3.167.
fd
3.168.
fd_read
3.169.
float_minimum_maximum
3.170.
flt2dec
3.171.
fmt_internals
3.172.
fn_traits
3.173.
forget_unsized
3.174.
format_args_nl
3.175.
future_join
3.176.
future_poll_fn
3.177.
gen_future
3.178.
generator_trait
3.179.
get_mut_unchecked
3.180.
hash_drain_filter
3.181.
hash_raw_entry
3.182.
hash_set_entry
3.183.
hashmap_internals
3.184.
hint_must_use
3.185.
inplace_iteration
3.186.
int_error_internals
3.187.
int_log
3.188.
int_roundings
3.189.
integer_atomics
3.190.
internal_output_capture
3.191.
into_future
3.192.
io_error_more
3.193.
io_error_other
3.194.
io_error_uncategorized
3.195.
io_read_to_string
3.196.
io_safety
3.197.
io_slice_advance
3.198.
ip
3.199.
is_some_with
3.200.
is_sorted
3.201.
iter_advance_by
3.202.
iter_collect_into
3.203.
iter_intersperse
3.204.
iter_is_partitioned
3.205.
iter_order_by
3.206.
iter_partition_in_place
3.207.
iterator_try_collect
3.208.
iterator_try_reduce
3.209.
layout_for_ptr
3.210.
liballoc_internals
3.211.
libstd_sys_internals
3.212.
libstd_thread_internals
3.213.
linked_list_cursors
3.214.
linked_list_remove
3.215.
linux_pidfd
3.216.
local_key_cell_methods
3.217.
log_syntax
3.218.
main_separator_str
3.219.
map_entry_replace
3.220.
map_first_last
3.221.
map_try_insert
3.222.
maybe_uninit_array_assume_init
3.223.
maybe_uninit_as_bytes
3.224.
maybe_uninit_slice
3.225.
maybe_uninit_uninit_array
3.226.
maybe_uninit_write_slice
3.227.
mixed_integer_ops
3.228.
mutex_unlock
3.229.
new_uninit
3.230.
nonnull_slice_from_raw_parts
3.231.
nonzero_bits
3.232.
nonzero_min_max
3.233.
nonzero_ops
3.234.
numfmt
3.235.
once_cell
3.236.
one_sided_range
3.237.
option_get_or_insert_default
3.238.
option_result_contains
3.239.
option_zip
3.240.
panic_abort
3.241.
panic_always_abort
3.242.
panic_backtrace_config
3.243.
panic_can_unwind
3.244.
panic_info_message
3.245.
panic_internals
3.246.
panic_unwind
3.247.
panic_update_hook
3.248.
path_file_prefix
3.249.
path_try_exists
3.250.
pattern
3.251.
peer_credentials_unix_socket
3.252.
pin_deref_mut
3.253.
pin_macro
3.254.
poll_ready
3.255.
portable_simd
3.256.
print_internals
3.257.
proc_macro_def_site
3.258.
proc_macro_diagnostic
3.259.
proc_macro_expand
3.260.
proc_macro_internals
3.261.
proc_macro_quote
3.262.
proc_macro_span
3.263.
proc_macro_span_shrink
3.264.
proc_macro_tracked_env
3.265.
process_exitcode_internals
3.266.
process_internals
3.267.
process_set_process_group
3.268.
profiler_runtime_lib
3.269.
ptr_as_uninit
3.270.
ptr_const_cast
3.271.
ptr_internals
3.272.
ptr_metadata
3.273.
ptr_to_from_bits
3.274.
pub_crate_should_not_need_unstable_attr
3.275.
raw_os_nonzero
3.276.
raw_vec_internals
3.277.
read_buf
3.278.
ready_macro
3.279.
receiver_trait
3.280.
restricted_std
3.281.
result_contains_err
3.282.
result_flattening
3.283.
result_into_ok_or_err
3.284.
result_option_inspect
3.285.
round_char_boundary
3.286.
rt
3.287.
saturating_int_assign_impl
3.288.
saturating_int_impl
3.289.
scoped_threads
3.290.
sealed
3.291.
seek_stream_len
3.292.
set_ptr_value
3.293.
setgroups
3.294.
sgx_platform
3.295.
slice_as_chunks
3.296.
slice_concat_ext
3.297.
slice_concat_trait
3.298.
slice_from_ptr_range
3.299.
slice_group_by
3.300.
slice_index_methods
3.301.
slice_internals
3.302.
slice_partition_dedup
3.303.
slice_pattern
3.304.
slice_ptr_get
3.305.
slice_ptr_len
3.306.
slice_range
3.307.
slice_split_at_unchecked
3.308.
slice_swap_unchecked
3.309.
slice_take
3.310.
solid_ext
3.311.
sort_internals
3.312.
split_array
3.313.
std_internals
3.314.
stdin_forwarders
3.315.
stdsimd
3.316.
step_trait
3.317.
str_internals
3.318.
str_split_as_str
3.319.
str_split_inclusive_as_str
3.320.
str_split_whitespace_as_str
3.321.
strict_provenance
3.322.
string_extend_from_within
3.323.
string_remove_matches
3.324.
tcp_linger
3.325.
tcplistener_into_incoming
3.326.
test
3.327.
thread_id_value
3.328.
thread_local_internals
3.329.
thread_spawn_unchecked
3.330.
toowned_clone_into
3.331.
total_cmp
3.332.
trace_macros
3.333.
track_path
3.334.
trusted_len
3.335.
trusted_random_access
3.336.
trusted_step
3.337.
try_find
3.338.
try_reserve_2
3.339.
try_reserve_kind
3.340.
try_trait_v2
3.341.
try_trait_v2_residual
3.342.
type_name_of_val
3.343.
unchecked_math
3.344.
unicode_internals
3.345.
unix_chown
3.346.
unix_socket_abstract
3.347.
unix_socket_ancillary_data
3.348.
unix_socket_peek
3.349.
unsize
3.350.
unwrap_infallible
3.351.
unzip_option
3.352.
update_panic_count
3.353.
utf16_extra
3.354.
utf16_extra_const
3.355.
variant_count
3.356.
vec_into_raw_parts
3.357.
vec_split_at_spare
3.358.
waker_getters
3.359.
wasi_ext
3.360.
windows_by_handle
3.361.
windows_c
3.362.
windows_file_type_ext
3.363.
windows_handle
3.364.
windows_net
3.365.
windows_process_extensions_force_quotes
3.366.
windows_process_extensions_raw_arg
3.367.
windows_stdio
3.368.
wrapping_int_impl
3.369.
wrapping_next_power_of_two
3.370.
write_all_vectored
Light (default)
Rust
Coal
Navy
Ayu
The Rust Unstable Book
const_replace
The tracking issue for this feature is:
#83164