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.
dump_mono_stats
1.8.
dump_mono_stats_format
1.9.
dwarf_version
1.10.
dylib_lto
1.11.
emit_stack_sizes
1.12.
extern_options
1.13.
location_detail
1.14.
move_size_limit
1.15.
no_unique_section_names
1.16.
profile
1.17.
profile_sample_use
1.18.
remap_cwd_prefix
1.19.
report_time
1.20.
sanitizer
1.21.
self_profile
1.22.
self_profile_events
1.23.
src_hash_algorithm
1.24.
temps_dir
1.25.
tls_model
1.26.
unsound_mir_opts
1.27.
virtual_function_elimination
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_msp430_interrupt
2.6.
abi_ptx
2.7.
abi_thiscall
2.8.
abi_unadjusted
2.9.
abi_vectorcall
2.10.
abi_x86_interrupt
2.11.
adt_const_params
2.12.
alloc_error_handler
2.13.
allocator_internals
2.14.
allow_internal_unsafe
2.15.
allow_internal_unstable
2.16.
anonymous_lifetime_in_impl_trait
2.17.
arbitrary_self_types
2.18.
arm_target_feature
2.19.
asm_const
2.20.
asm_experimental_arch
2.21.
asm_unwind
2.22.
associated_const_equality
2.23.
associated_type_bounds
2.24.
associated_type_defaults
2.25.
async_closure
2.26.
async_fn_in_trait
2.27.
auto_traits
2.28.
avx512_target_feature
2.29.
box_patterns
2.30.
box_syntax
2.31.
bpf_target_feature
2.32.
c_unwind
2.33.
c_variadic
2.34.
capture_disjoint_fields
2.35.
cfg_sanitize
2.36.
cfg_target_abi
2.37.
cfg_target_compact
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_lifetime_binder
2.43.
closure_track_caller
2.44.
cmpxchg16b_target_feature
2.45.
cmse_nonsecure_entry
2.46.
collapse_debuginfo
2.47.
compiler_builtins
2.48.
const_async_blocks
2.49.
const_closures
2.50.
const_eval_limit
2.51.
const_extern_fn
2.52.
const_fn_floating_point_arithmetic
2.53.
const_for
2.54.
const_mut_refs
2.55.
const_precise_live_drops
2.56.
const_refs_to_cell
2.57.
const_trait_impl
2.58.
const_try
2.59.
custom_inner_attributes
2.60.
custom_mir
2.61.
custom_test_frameworks
2.62.
debugger_visualizer
2.63.
decl_macro
2.64.
default_type_parameter_fallback
2.65.
deprecated_safe
2.66.
deprecated_suggestion
2.67.
do_not_recommend
2.68.
doc_auto_cfg
2.69.
doc_cfg
2.70.
doc_cfg_hide
2.71.
doc_masked
2.72.
doc_notable_trait
2.73.
dropck_eyepatch
2.74.
dyn_star
2.75.
ermsb_target_feature
2.76.
exclusive_range_pattern
2.77.
exhaustive_patterns
2.78.
extended_varargs_abi_support
2.79.
extern_types
2.80.
ffi_const
2.81.
ffi_pure
2.82.
ffi_returns_twice
2.83.
fn_align
2.84.
fundamental
2.85.
generator_clone
2.86.
generators
2.87.
generic_arg_infer
2.88.
generic_assert
2.89.
generic_associated_types_extended
2.90.
generic_const_exprs
2.91.
half_open_range_patterns_in_slices
2.92.
hexagon_target_feature
2.93.
if_let_guard
2.94.
impl_trait_in_fn_trait_return
2.95.
impl_trait_projections
2.96.
imported_main
2.97.
inherent_associated_types
2.98.
inline_const
2.99.
inline_const_pat
2.100.
intra_doc_pointers
2.101.
intrinsics
2.102.
lang_items
2.103.
large_assignments
2.104.
let_chains
2.105.
link_cfg
2.106.
link_llvm_intrinsics
2.107.
linkage
2.108.
lint_reasons
2.109.
macro_metavar_expr
2.110.
marker_trait_attr
2.111.
min_specialization
2.112.
mips_target_feature
2.113.
more_qualified_paths
2.114.
movbe_target_feature
2.115.
must_not_suspend
2.116.
naked_functions
2.117.
native_link_modifiers_as_needed
2.118.
needs_panic_runtime
2.119.
negative_impls
2.120.
never_type
2.121.
never_type_fallback
2.122.
no_core
2.123.
no_coverage
2.124.
no_sanitize
2.125.
non_exhaustive_omitted_patterns_lint
2.126.
object_safe_for_dispatch
2.127.
omit_gdb_pretty_printer_section
2.128.
optimize_attribute
2.129.
panic_runtime
2.130.
platform_intrinsics
2.131.
plugin
2.132.
powerpc_target_feature
2.133.
precise_pointer_size_matching
2.134.
prelude_import
2.135.
proc_macro_hygiene
2.136.
profiler_runtime
2.137.
raw_dylib
2.138.
raw_ref_op
2.139.
register_tool
2.140.
repr_simd
2.141.
repr128
2.142.
return_position_impl_trait_in_trait
2.143.
riscv_target_feature
2.144.
rtm_target_feature
2.145.
rust_cold_cc
2.146.
rustc_allow_const_fn_unstable
2.147.
rustc_attrs
2.148.
rustc_private
2.149.
rustdoc_internals
2.150.
rustdoc_missing_doc_code_examples
2.151.
simd_ffi
2.152.
specialization
2.153.
sse4a_target_feature
2.154.
staged_api
2.155.
start
2.156.
stmt_expr_attributes
2.157.
strict_provenance
2.158.
string_deref_patterns
2.159.
structural_match
2.160.
target_feature_11
2.161.
tbm_target_feature
2.162.
test_2018_feature
2.163.
test_unstable_lint
2.164.
thread_local
2.165.
trait_alias
2.166.
trait_upcasting
2.167.
transparent_unions
2.168.
trivial_bounds
2.169.
try_blocks
2.170.
type_alias_impl_trait
2.171.
type_ascription
2.172.
type_changing_struct_update
2.173.
unboxed_closures
2.174.
unix_sigpipe
2.175.
unsafe_pin_internals
2.176.
unsized_fn_params
2.177.
unsized_locals
2.178.
unsized_tuple_coercion
2.179.
used_with_arg
2.180.
wasm_abi
2.181.
wasm_target_feature
2.182.
with_negative_coherence
2.183.
yeet_expr
3.
Library Features
3.1.
absolute_path
3.2.
addr_parse_ascii
3.3.
alloc_error_hook
3.4.
alloc_internals
3.5.
alloc_layout_extra
3.6.
allocator_api
3.7.
arc_unwrap_or_clone
3.8.
array_chunks
3.9.
array_error_internals
3.10.
array_into_iter_constructors
3.11.
array_methods
3.12.
array_try_from_fn
3.13.
array_try_map
3.14.
array_windows
3.15.
array_zip
3.16.
as_array_of_cells
3.17.
assert_matches
3.18.
async_iter_from_iter
3.19.
async_iterator
3.20.
atomic_bool_fetch_not
3.21.
atomic_from_mut
3.22.
atomic_mut_ptr
3.23.
backtrace_frames
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.
bound_as_ref
3.30.
bound_map
3.31.
box_into_boxed_slice
3.32.
box_into_inner
3.33.
btree_drain_filter
3.34.
btreemap_alloc
3.35.
buf_read_has_data_left
3.36.
build_hasher_simple_hash_one
3.37.
byte_slice_trim_ascii
3.38.
c_size_t
3.39.
c_void_variant
3.40.
can_vector
3.41.
cell_leak
3.42.
cell_update
3.43.
cfg_accessible
3.44.
cfg_eval
3.45.
char_error_internals
3.46.
char_indices_offset
3.47.
char_internals
3.48.
coerce_unsized
3.49.
concat_bytes
3.50.
concat_idents
3.51.
const_align_of_val
3.52.
const_align_of_val_raw
3.53.
const_align_offset
3.54.
const_alloc_error
3.55.
const_alloc_layout
3.56.
const_arguments_as_str
3.57.
const_array_from_ref
3.58.
const_array_into_iter_constructors
3.59.
const_assert_type2
3.60.
const_assume
3.61.
const_bigint_helper_methods
3.62.
const_black_box
3.63.
const_bool_to_option
3.64.
const_borrow
3.65.
const_box
3.66.
const_btree_len
3.67.
const_caller_location
3.68.
const_cell_into_inner
3.69.
const_char_from_u32_unchecked
3.70.
const_clone
3.71.
const_cmp
3.72.
const_collections_with_hasher
3.73.
const_convert
3.74.
const_cow_is_borrowed
3.75.
const_cstr_methods
3.76.
const_default_impls
3.77.
const_deref
3.78.
const_discriminant
3.79.
const_eval_select
3.80.
const_exact_div
3.81.
const_float_bits_conv
3.82.
const_float_classify
3.83.
const_fmt_arguments_new
3.84.
const_fn_trait_ref_impls
3.85.
const_format_args
3.86.
const_hash
3.87.
const_heap
3.88.
const_index_range_slice_index
3.89.
const_inherent_unchecked_arith
3.90.
const_int_unchecked_arith
3.91.
const_intoiterator_identity
3.92.
const_intrinsic_forget
3.93.
const_intrinsic_raw_eq
3.94.
const_io_structs
3.95.
const_ip
3.96.
const_ipv4
3.97.
const_ipv6
3.98.
const_is_char_boundary
3.99.
const_likely
3.100.
const_location_fields
3.101.
const_maybe_uninit_array_assume_init
3.102.
const_maybe_uninit_as_mut_ptr
3.103.
const_maybe_uninit_assume_init
3.104.
const_maybe_uninit_assume_init_read
3.105.
const_maybe_uninit_uninit_array
3.106.
const_maybe_uninit_write
3.107.
const_maybe_uninit_zeroed
3.108.
const_nonnull_new
3.109.
const_nonnull_slice_from_raw_parts
3.110.
const_num_from_num
3.111.
const_ops
3.112.
const_option
3.113.
const_option_cloned
3.114.
const_option_ext
3.115.
const_pin
3.116.
const_pointer_byte_offsets
3.117.
const_pointer_is_aligned
3.118.
const_pref_align_of
3.119.
const_ptr_as_ref
3.120.
const_ptr_is_null
3.121.
const_ptr_read
3.122.
const_ptr_sub_ptr
3.123.
const_ptr_write
3.124.
const_raw_ptr_comparison
3.125.
const_replace
3.126.
const_result
3.127.
const_result_drop
3.128.
const_reverse
3.129.
const_size_of_val
3.130.
const_size_of_val_raw
3.131.
const_slice_first_last
3.132.
const_slice_from_mut_ptr_range
3.133.
const_slice_from_ptr_range
3.134.
const_slice_from_raw_parts_mut
3.135.
const_slice_from_ref
3.136.
const_slice_index
3.137.
const_slice_ptr_len
3.138.
const_slice_split_at_mut
3.139.
const_slice_split_at_not_mut
3.140.
const_socketaddr
3.141.
const_str_from_utf8
3.142.
const_str_from_utf8_unchecked_mut
3.143.
const_swap
3.144.
const_transmute_copy
3.145.
const_type_id
3.146.
const_type_name
3.147.
const_unicode_case_lookup
3.148.
const_unsafecell_get_mut
3.149.
const_waker
3.150.
const_weak_new
3.151.
container_error_extra
3.152.
control_flow_enum
3.153.
convert_float_to_int
3.154.
core_intrinsics
3.155.
core_panic
3.156.
core_private_bignum
3.157.
core_private_diy_float
3.158.
cow_is_borrowed
3.159.
cstr_from_bytes_until_nul
3.160.
cstr_internals
3.161.
cstr_is_empty
3.162.
cursor_remaining
3.163.
deadline_api
3.164.
dec2flt
3.165.
default_free_fn
3.166.
derive_clone_copy
3.167.
derive_const
3.168.
derive_eq
3.169.
dir_entry_ext2
3.170.
discriminant_kind
3.171.
dispatch_from_dyn
3.172.
div_duration
3.173.
downcast_unchecked
3.174.
drain_filter
3.175.
drain_keep_rest
3.176.
duration_constants
3.177.
duration_consts_float
3.178.
edition_panic
3.179.
entry_insert
3.180.
error_generic_member_access
3.181.
error_in_core
3.182.
error_iter
3.183.
error_reporter
3.184.
error_type_id
3.185.
exact_size_is_empty
3.186.
exclusive_wrapper
3.187.
exit_status_error
3.188.
exitcode_exit_method
3.189.
extend_one
3.190.
fd
3.191.
fd_read
3.192.
file_create_new
3.193.
file_set_times
3.194.
float_minimum_maximum
3.195.
float_next_up_down
3.196.
flt2dec
3.197.
fmt_helpers_for_derive
3.198.
fmt_internals
3.199.
fn_traits
3.200.
forget_unsized
3.201.
format_args_nl
3.202.
fs_try_exists
3.203.
future_join
3.204.
gen_future
3.205.
generator_trait
3.206.
generic_assert_internals
3.207.
get_many_mut
3.208.
get_mut_unchecked
3.209.
hash_drain_filter
3.210.
hash_raw_entry
3.211.
hash_set_entry
3.212.
hasher_prefixfree_extras
3.213.
hashmap_internals
3.214.
hint_must_use
3.215.
inplace_iteration
3.216.
int_error_internals
3.217.
int_roundings
3.218.
integer_atomics
3.219.
internal_output_capture
3.220.
io_error_downcast
3.221.
io_error_more
3.222.
io_error_other
3.223.
io_error_uncategorized
3.224.
io_slice_advance
3.225.
ip
3.226.
is_ascii_octdigit
3.227.
is_some_and
3.228.
is_sorted
3.229.
is_terminal
3.230.
iter_advance_by
3.231.
iter_array_chunks
3.232.
iter_collect_into
3.233.
iter_from_generator
3.234.
iter_intersperse
3.235.
iter_is_partitioned
3.236.
iter_next_chunk
3.237.
iter_order_by
3.238.
iter_partition_in_place
3.239.
iter_repeat_n
3.240.
iterator_try_collect
3.241.
iterator_try_reduce
3.242.
layout_for_ptr
3.243.
liballoc_internals
3.244.
libstd_sys_internals
3.245.
libstd_thread_internals
3.246.
linked_list_cursors
3.247.
linked_list_remove
3.248.
linux_pidfd
3.249.
local_key_cell_methods
3.250.
log_syntax
3.251.
map_entry_replace
3.252.
map_many_mut
3.253.
map_try_insert
3.254.
maybe_uninit_array_assume_init
3.255.
maybe_uninit_as_bytes
3.256.
maybe_uninit_slice
3.257.
maybe_uninit_uninit_array
3.258.
maybe_uninit_uninit_array_transpose
3.259.
maybe_uninit_write_slice
3.260.
mem_copy_fn
3.261.
mutex_unlock
3.262.
mutex_unpoison
3.263.
new_uninit
3.264.
nonnull_slice_from_raw_parts
3.265.
nonzero_min_max
3.266.
nonzero_negation_ops
3.267.
nonzero_ops
3.268.
numfmt
3.269.
once_cell
3.270.
one_sided_range
3.271.
option_get_or_insert_default
3.272.
option_result_contains
3.273.
option_zip
3.274.
panic_abort
3.275.
panic_always_abort
3.276.
panic_backtrace_config
3.277.
panic_can_unwind
3.278.
panic_info_message
3.279.
panic_internals
3.280.
panic_unwind
3.281.
panic_update_hook
3.282.
path_as_mut_os_str
3.283.
path_file_prefix
3.284.
pattern
3.285.
peer_credentials_unix_socket
3.286.
pin_deref_mut
3.287.
pointer_byte_offsets
3.288.
pointer_is_aligned
3.289.
pointer_sized_trait
3.290.
poll_ready
3.291.
portable_simd
3.292.
prelude_2024
3.293.
print_internals
3.294.
proc_macro_def_site
3.295.
proc_macro_diagnostic
3.296.
proc_macro_expand
3.297.
proc_macro_internals
3.298.
proc_macro_quote
3.299.
proc_macro_span
3.300.
proc_macro_span_shrink
3.301.
proc_macro_tracked_env
3.302.
process_exitcode_internals
3.303.
process_internals
3.304.
profiler_runtime_lib
3.305.
provide_any
3.306.
ptr_alignment_type
3.307.
ptr_as_uninit
3.308.
ptr_from_ref
3.309.
ptr_internals
3.310.
ptr_mask
3.311.
ptr_metadata
3.312.
ptr_sub_ptr
3.313.
ptr_to_from_bits
3.314.
pub_crate_should_not_need_unstable_attr
3.315.
raw_os_nonzero
3.316.
raw_slice_split
3.317.
raw_vec_internals
3.318.
read_buf
3.319.
ready_into_inner
3.320.
receiver_trait
3.321.
restricted_std
3.322.
result_contains_err
3.323.
result_flattening
3.324.
result_option_inspect
3.325.
round_char_boundary
3.326.
rt
3.327.
saturating_int_assign_impl
3.328.
saturating_int_impl
3.329.
sealed
3.330.
seek_stream_len
3.331.
set_ptr_value
3.332.
setgroups
3.333.
sgx_platform
3.334.
sized_type_properties
3.335.
slice_as_chunks
3.336.
slice_concat_ext
3.337.
slice_concat_trait
3.338.
slice_flatten
3.339.
slice_from_ptr_range
3.340.
slice_group_by
3.341.
slice_index_methods
3.342.
slice_internals
3.343.
slice_iter_mut_as_mut_slice
3.344.
slice_partition_dedup
3.345.
slice_pattern
3.346.
slice_ptr_get
3.347.
slice_ptr_len
3.348.
slice_range
3.349.
slice_split_at_unchecked
3.350.
slice_swap_unchecked
3.351.
slice_take
3.352.
solid_ext
3.353.
sort_floats
3.354.
sort_internals
3.355.
spec_option_partial_eq
3.356.
split_array
3.357.
split_as_slice
3.358.
std_internals
3.359.
stdio_makes_pipe
3.360.
stdsimd
3.361.
step_trait
3.362.
str_internals
3.363.
str_split_inclusive_remainder
3.364.
str_split_remainder
3.365.
str_split_whitespace_remainder
3.366.
strict_provenance_atomic_ptr
3.367.
string_extend_from_within
3.368.
string_leak
3.369.
string_remove_matches
3.370.
sync_unsafe_cell
3.371.
tcp_linger
3.372.
tcp_quickack
3.373.
tcplistener_into_incoming
3.374.
test
3.375.
thin_box
3.376.
thread_id_value
3.377.
thread_local_internals
3.378.
thread_spawn_unchecked
3.379.
trace_macros
3.380.
track_path
3.381.
transmutability
3.382.
trusted_len
3.383.
trusted_random_access
3.384.
trusted_step
3.385.
try_find
3.386.
try_reserve_kind
3.387.
try_trait_v2
3.388.
try_trait_v2_residual
3.389.
try_trait_v2_yeet
3.390.
tuple_trait
3.391.
type_name_of_val
3.392.
unchecked_math
3.393.
unicode_internals
3.394.
unix_chown
3.395.
unix_set_mark
3.396.
unix_socket_abstract
3.397.
unix_socket_ancillary_data
3.398.
unix_socket_peek
3.399.
unsize
3.400.
unwrap_infallible
3.401.
update_panic_count
3.402.
utf16_extra
3.403.
utf16_extra_const
3.404.
utf8_chunks
3.405.
variant_count
3.406.
vec_into_raw_parts
3.407.
vec_push_within_capacity
3.408.
vec_split_at_spare
3.409.
waker_getters
3.410.
wasi_ext
3.411.
windows_by_handle
3.412.
windows_c
3.413.
windows_handle
3.414.
windows_net
3.415.
windows_process_exit_code_from
3.416.
windows_process_extensions_async_pipes
3.417.
windows_process_extensions_force_quotes
3.418.
windows_process_extensions_main_thread_handle
3.419.
windows_stdio
3.420.
wrapping_int_impl
3.421.
wrapping_next_power_of_two
3.422.
write_all_vectored
3.423.
yeet_desugar_details
Light
Rust
Coal
Navy
Ayu
The Rust Unstable Book
peer_credentials_unix_socket
The tracking issue for this feature is:
#42839