The Unstable Book
1.
Compiler flags
1.1.
branch_protection
1.2.
cf_protection
1.3.
codegen_backend
1.4.
codegen_options
1.5.
control_flow_guard
1.6.
coverage_options
1.7.
debug_info_for_profiling
1.8.
default_hidden_visibility
1.9.
direct_access_external_data
1.10.
dump_mono_stats
1.11.
dump_mono_stats_format
1.12.
dwarf_version
1.13.
dylib_lto
1.14.
emit_stack_sizes
1.15.
env_set
1.16.
export_executable_symbols
1.17.
extern_options
1.18.
external_clangrt
1.19.
function_return
1.20.
instrument_xray
1.21.
link_native_libraries
1.22.
linker_features
1.23.
llvm_module_flag
1.24.
location_detail
1.25.
move_size_limit
1.26.
no_jump_tables
1.27.
no_parallel_llvm
1.28.
no_unique_section_names
1.29.
profile
1.30.
profile_sample_use
1.31.
remap_cwd_prefix
1.32.
remap_path_scope
1.33.
report_time
1.34.
sanitizer
1.35.
self_profile
1.36.
self_profile_events
1.37.
shell_argfiles
1.38.
src_hash_algorithm
1.39.
temps_dir
1.40.
tiny_const_eval_limit
1.41.
tls_model
1.42.
ub_checks
1.43.
unsound_mir_opts
1.44.
virtual_function_elimination
1.45.
wasm_c_abi
2.
Language features
2.1.
aarch64_ver_target_feature
2.2.
abi_avr_interrupt
2.3.
abi_c_cmse_nonsecure_call
2.4.
abi_msp430_interrupt
2.5.
abi_ptx
2.6.
abi_riscv_interrupt
2.7.
abi_unadjusted
2.8.
abi_vectorcall
2.9.
abi_x86_interrupt
2.10.
adt_const_params
2.11.
alloc_error_handler
2.12.
allocator_internals
2.13.
allow_internal_unsafe
2.14.
allow_internal_unstable
2.15.
anonymous_lifetime_in_impl_trait
2.16.
arbitrary_self_types
2.17.
arm_target_feature
2.18.
asm_const
2.19.
asm_experimental_arch
2.20.
asm_goto
2.21.
asm_unwind
2.22.
associated_const_equality
2.23.
associated_type_defaults
2.24.
async_closure
2.25.
async_fn_track_caller
2.26.
async_for_loop
2.27.
auto_traits
2.28.
avx512_target_feature
2.29.
box_patterns
2.30.
bpf_target_feature
2.31.
builtin_syntax
2.32.
c_unwind
2.33.
c_variadic
2.34.
cfg_overflow_checks
2.35.
cfg_relocation_model
2.36.
cfg_sanitize
2.37.
cfg_sanitizer_cfi
2.38.
cfg_target_compact
2.39.
cfg_target_has_atomic
2.40.
cfg_target_has_atomic_equal_alignment
2.41.
cfg_target_thread_local
2.42.
cfg_ub_checks
2.43.
cfg_version
2.44.
cfi_encoding
2.45.
closure_lifetime_binder
2.46.
closure_track_caller
2.47.
cmse_nonsecure_entry
2.48.
collapse_debuginfo
2.49.
compiler_builtins
2.50.
const_async_blocks
2.51.
const_closures
2.52.
const_extern_fn
2.53.
const_fn_floating_point_arithmetic
2.54.
const_for
2.55.
const_mut_refs
2.56.
const_precise_live_drops
2.57.
const_refs_to_cell
2.58.
const_refs_to_static
2.59.
const_trait_impl
2.60.
const_try
2.61.
coroutine_clone
2.62.
coroutines
2.63.
coverage_attribute
2.64.
csky_target_feature
2.65.
custom_code_classes_in_docs
2.66.
custom_inner_attributes
2.67.
custom_mir
2.68.
custom_test_frameworks
2.69.
decl_macro
2.70.
default_type_parameter_fallback
2.71.
deprecated_safe
2.72.
deprecated_suggestion
2.73.
deref_patterns
2.74.
do_not_recommend
2.75.
doc_auto_cfg
2.76.
doc_cfg
2.77.
doc_cfg_hide
2.78.
doc_masked
2.79.
doc_notable_trait
2.80.
dropck_eyepatch
2.81.
dyn_star
2.82.
effects
2.83.
ermsb_target_feature
2.84.
exclusive_range_pattern
2.85.
exhaustive_patterns
2.86.
explicit_tail_calls
2.87.
extended_varargs_abi_support
2.88.
extern_types
2.89.
f128
2.90.
f16
2.91.
ffi_const
2.92.
ffi_pure
2.93.
fn_align
2.94.
fn_delegation
2.95.
freeze_impls
2.96.
fundamental
2.97.
gen_blocks
2.98.
generic_arg_infer
2.99.
generic_assert
2.100.
generic_associated_types_extended
2.101.
generic_const_exprs
2.102.
generic_const_items
2.103.
half_open_range_patterns_in_slices
2.104.
hexagon_target_feature
2.105.
if_let_guard
2.106.
impl_trait_in_assoc_type
2.107.
impl_trait_in_fn_trait_return
2.108.
inherent_associated_types
2.109.
inline_const
2.110.
inline_const_pat
2.111.
intra_doc_pointers
2.112.
intrinsics
2.113.
lahfsahf_target_feature
2.114.
lang_items
2.115.
large_assignments
2.116.
lazy_type_alias
2.117.
let_chains
2.118.
lifetime_capture_rules_2024
2.119.
link_arg_attribute
2.120.
link_cfg
2.121.
link_llvm_intrinsics
2.122.
linkage
2.123.
lint_reasons
2.124.
loongarch_target_feature
2.125.
macro_metavar_expr
2.126.
marker_trait_attr
2.127.
min_exhaustive_patterns
2.128.
min_specialization
2.129.
mips_target_feature
2.130.
more_qualified_paths
2.131.
multiple_supertrait_upcastable
2.132.
must_not_suspend
2.133.
mut_preserve_binding_mode_2024
2.134.
mut_ref
2.135.
naked_functions
2.136.
native_link_modifiers_as_needed
2.137.
needs_panic_runtime
2.138.
negative_bounds
2.139.
negative_impls
2.140.
never_patterns
2.141.
never_type
2.142.
never_type_fallback
2.143.
no_core
2.144.
no_sanitize
2.145.
non_exhaustive_omitted_patterns_lint
2.146.
non_lifetime_binders
2.147.
object_safe_for_dispatch
2.148.
offset_of_enum
2.149.
offset_of_nested
2.150.
omit_gdb_pretty_printer_section
2.151.
optimize_attribute
2.152.
panic_runtime
2.153.
pattern_complexity
2.154.
pattern_types
2.155.
postfix_match
2.156.
powerpc_target_feature
2.157.
precise_capturing
2.158.
prelude_import
2.159.
prfchw_target_feature
2.160.
proc_macro_hygiene
2.161.
profiler_runtime
2.162.
raw_ref_op
2.163.
ref_pat_eat_one_layer_2024
2.164.
ref_pat_everywhere
2.165.
register_tool
2.166.
repr_simd
2.167.
repr128
2.168.
return_type_notation
2.169.
riscv_target_feature
2.170.
rtm_target_feature
2.171.
rust_cold_cc
2.172.
rustc_allow_const_fn_unstable
2.173.
rustc_attrs
2.174.
rustc_private
2.175.
rustdoc_internals
2.176.
rustdoc_missing_doc_code_examples
2.177.
simd_ffi
2.178.
specialization
2.179.
sse4a_target_feature
2.180.
staged_api
2.181.
start
2.182.
stmt_expr_attributes
2.183.
strict_provenance
2.184.
string_deref_patterns
2.185.
structural_match
2.186.
target_feature_11
2.187.
tbm_target_feature
2.188.
test_unstable_lint
2.189.
thread_local
2.190.
trait_alias
2.191.
trait_upcasting
2.192.
transmute_generic_consts
2.193.
transparent_unions
2.194.
trivial_bounds
2.195.
try_blocks
2.196.
type_alias_impl_trait
2.197.
type_ascription
2.198.
type_changing_struct_update
2.199.
unboxed_closures
2.200.
unix_sigpipe
2.201.
unnamed_fields
2.202.
unsized_fn_params
2.203.
unsized_locals
2.204.
unsized_tuple_coercion
2.205.
used_with_arg
2.206.
wasm_abi
2.207.
wasm_target_feature
2.208.
with_negative_coherence
2.209.
yeet_expr
3.
Library Features
3.1.
absolute_path
3.2.
acceptfilter
3.3.
addr_parse_ascii
3.4.
alloc_error_hook
3.5.
alloc_internals
3.6.
alloc_layout_extra
3.7.
allocator_api
3.8.
array_chunks
3.9.
array_into_iter_constructors
3.10.
array_ptr_get
3.11.
array_try_from_fn
3.12.
array_try_map
3.13.
array_windows
3.14.
as_array_of_cells
3.15.
ascii_char
3.16.
ascii_char_variants
3.17.
assert_matches
3.18.
async_fn_traits
3.19.
async_gen_internals
3.20.
async_iter_from_iter
3.21.
async_iterator
3.22.
atomic_bool_fetch_not
3.23.
atomic_from_mut
3.24.
backtrace_frames
3.25.
bigint_helper_methods
3.26.
binary_heap_as_slice
3.27.
binary_heap_drain_sorted
3.28.
binary_heap_into_iter_sorted
3.29.
bound_as_ref
3.30.
box_into_boxed_slice
3.31.
box_into_inner
3.32.
btree_cursors
3.33.
btree_extract_if
3.34.
btreemap_alloc
3.35.
buf_read_has_data_left
3.36.
bufread_skip_until
3.37.
build_hasher_default_const_new
3.38.
byte_slice_trim_ascii
3.39.
c_size_t
3.40.
c_str_module
3.41.
c_void_variant
3.42.
can_vector
3.43.
cell_leak
3.44.
cell_update
3.45.
cfg_accessible
3.46.
cfg_eval
3.47.
cfg_match
3.48.
char_indices_offset
3.49.
char_internals
3.50.
char_min
3.51.
cmp_minmax
3.52.
coerce_unsized
3.53.
concat_bytes
3.54.
concat_idents
3.55.
const_align_of_val
3.56.
const_align_of_val_raw
3.57.
const_align_offset
3.58.
const_alloc_error
3.59.
const_alloc_layout
3.60.
const_arguments_as_str
3.61.
const_array_from_ref
3.62.
const_array_into_iter_constructors
3.63.
const_atomic_from_ptr
3.64.
const_bigint_helper_methods
3.65.
const_binary_heap_constructor
3.66.
const_black_box
3.67.
const_box
3.68.
const_btree_len
3.69.
const_cell_into_inner
3.70.
const_char_from_u32_unchecked
3.71.
const_cmp
3.72.
const_collections_with_hasher
3.73.
const_cow_is_borrowed
3.74.
const_cstr_from_ptr
3.75.
const_eval_select
3.76.
const_exact_div
3.77.
const_float_bits_conv
3.78.
const_float_classify
3.79.
const_fmt_arguments_new
3.80.
const_format_args
3.81.
const_hash
3.82.
const_heap
3.83.
const_hint_assert_unchecked
3.84.
const_index_range_slice_index
3.85.
const_int_from_str
3.86.
const_intoiterator_identity
3.87.
const_intrinsic_compare_bytes
3.88.
const_intrinsic_copy
3.89.
const_intrinsic_forget
3.90.
const_intrinsic_raw_eq
3.91.
const_ip
3.92.
const_ipv4
3.93.
const_ipv6
3.94.
const_likely
3.95.
const_maybe_uninit_array_assume_init
3.96.
const_maybe_uninit_as_mut_ptr
3.97.
const_maybe_uninit_assume_init
3.98.
const_maybe_uninit_uninit_array
3.99.
const_maybe_uninit_write
3.100.
const_nonnull_new
3.101.
const_num_midpoint
3.102.
const_ops
3.103.
const_option
3.104.
const_option_ext
3.105.
const_pin
3.106.
const_pointer_is_aligned
3.107.
const_pref_align_of
3.108.
const_ptr_as_ref
3.109.
const_ptr_is_null
3.110.
const_ptr_sub_ptr
3.111.
const_ptr_write
3.112.
const_range_bounds
3.113.
const_raw_ptr_comparison
3.114.
const_replace
3.115.
const_result
3.116.
const_size_of_val
3.117.
const_size_of_val_raw
3.118.
const_slice_first_last
3.119.
const_slice_first_last_chunk
3.120.
const_slice_from_mut_ptr_range
3.121.
const_slice_from_ptr_range
3.122.
const_slice_from_raw_parts_mut
3.123.
const_slice_from_ref
3.124.
const_slice_index
3.125.
const_slice_split_at_mut
3.126.
const_str_from_raw_parts_mut
3.127.
const_str_from_utf8
3.128.
const_str_from_utf8_unchecked_mut
3.129.
const_strict_overflow_ops
3.130.
const_swap
3.131.
const_three_way_compare
3.132.
const_type_id
3.133.
const_type_name
3.134.
const_typed_swap
3.135.
const_ub_checks
3.136.
const_unicode_case_lookup
3.137.
const_unsafecell_get_mut
3.138.
const_waker
3.139.
container_error_extra
3.140.
context_ext
3.141.
control_flow_enum
3.142.
convert_float_to_int
3.143.
core_intrinsics
3.144.
core_io_borrowed_buf
3.145.
core_pattern_type
3.146.
core_pattern_types
3.147.
core_private_bignum
3.148.
core_private_diy_float
3.149.
coroutine_trait
3.150.
cow_is_borrowed
3.151.
cstr_bytes
3.152.
cursor_remaining
3.153.
deadline_api
3.154.
debug_closure_helpers
3.155.
dec2flt
3.156.
deref_pure_trait
3.157.
derive_clone_copy
3.158.
derive_const
3.159.
derive_eq
3.160.
dir_entry_ext2
3.161.
discriminant_kind
3.162.
dispatch_from_dyn
3.163.
div_duration
3.164.
downcast_unchecked
3.165.
drain_keep_rest
3.166.
duration_abs_diff
3.167.
duration_constants
3.168.
duration_constructors
3.169.
duration_consts_float
3.170.
duration_millis_float
3.171.
duration_units
3.172.
edition_panic
3.173.
entry_insert
3.174.
error_generic_member_access
3.175.
error_in_core
3.176.
error_iter
3.177.
error_reporter
3.178.
error_type_id
3.179.
exact_size_is_empty
3.180.
exclusive_wrapper
3.181.
exit_status_error
3.182.
exitcode_exit_method
3.183.
exposed_provenance
3.184.
extend_one
3.185.
extract_if
3.186.
fd
3.187.
fd_read
3.188.
float_gamma
3.189.
float_minimum_maximum
3.190.
float_next_up_down
3.191.
flt2dec
3.192.
fmt_helpers_for_derive
3.193.
fmt_internals
3.194.
fn_ptr_trait
3.195.
fn_traits
3.196.
forget_unsized
3.197.
format_args_nl
3.198.
freeze
3.199.
fs_try_exists
3.200.
future_join
3.201.
gen_future
3.202.
generic_assert_internals
3.203.
generic_nonzero
3.204.
get_many_mut
3.205.
get_mut_unchecked
3.206.
hash_extract_if
3.207.
hash_raw_entry
3.208.
hash_set_entry
3.209.
hasher_prefixfree_extras
3.210.
hashmap_internals
3.211.
hint_assert_unchecked
3.212.
hint_must_use
3.213.
inplace_iteration
3.214.
int_roundings
3.215.
integer_atomics
3.216.
internal_impls_macro
3.217.
internal_output_capture
3.218.
io_error_downcast
3.219.
io_error_more
3.220.
io_error_uncategorized
3.221.
io_slice_advance
3.222.
ip
3.223.
ip_bits
3.224.
is_ascii_octdigit
3.225.
is_riscv_feature_detected
3.226.
is_sorted
3.227.
is_val_statically_known
3.228.
isqrt
3.229.
iter_advance_by
3.230.
iter_array_chunks
3.231.
iter_collect_into
3.232.
iter_from_coroutine
3.233.
iter_intersperse
3.234.
iter_is_partitioned
3.235.
iter_map_windows
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.
junction_point
3.243.
layout_for_ptr
3.244.
lazy_cell
3.245.
lazy_cell_consume
3.246.
liballoc_internals
3.247.
libstd_sys_internals
3.248.
linked_list_cursors
3.249.
linked_list_remove
3.250.
linked_list_retain
3.251.
linux_pidfd
3.252.
local_waker
3.253.
log_syntax
3.254.
map_entry_replace
3.255.
map_many_mut
3.256.
map_try_insert
3.257.
mapped_lock_guards
3.258.
maybe_uninit_array_assume_init
3.259.
maybe_uninit_as_bytes
3.260.
maybe_uninit_fill
3.261.
maybe_uninit_slice
3.262.
maybe_uninit_uninit_array
3.263.
maybe_uninit_uninit_array_transpose
3.264.
maybe_uninit_write_slice
3.265.
mem_copy_fn
3.266.
more_float_constants
3.267.
new_uninit
3.268.
non_null_convenience
3.269.
non_zero_count_ones
3.270.
nonzero_from_mut
3.271.
nonzero_internals
3.272.
nonzero_ops
3.273.
noop_waker
3.274.
num_midpoint
3.275.
numfmt
3.276.
once_cell_get_mut
3.277.
once_cell_try
3.278.
once_cell_try_insert
3.279.
one_sided_range
3.280.
option_get_or_insert_default
3.281.
option_take_if
3.282.
option_zip
3.283.
os_str_display
3.284.
os_str_slice
3.285.
panic_abort
3.286.
panic_always_abort
3.287.
panic_backtrace_config
3.288.
panic_can_unwind
3.289.
panic_info_message
3.290.
panic_internals
3.291.
panic_unwind
3.292.
panic_update_hook
3.293.
path_file_prefix
3.294.
pattern
3.295.
peer_credentials_unix_socket
3.296.
pin_deref_mut
3.297.
pointer_is_aligned_to
3.298.
pointer_like_trait
3.299.
portable_simd
3.300.
prelude_2024
3.301.
print_internals
3.302.
proc_macro_def_site
3.303.
proc_macro_diagnostic
3.304.
proc_macro_expand
3.305.
proc_macro_internals
3.306.
proc_macro_quote
3.307.
proc_macro_span
3.308.
proc_macro_tracked_env
3.309.
process_exitcode_internals
3.310.
process_internals
3.311.
profiler_runtime_lib
3.312.
ptr_alignment_type
3.313.
ptr_as_uninit
3.314.
ptr_internals
3.315.
ptr_mask
3.316.
ptr_metadata
3.317.
ptr_sub_ptr
3.318.
ptr_to_from_bits
3.319.
pub_crate_should_not_need_unstable_attr
3.320.
raw_os_error_ty
3.321.
raw_slice_split
3.322.
raw_vec_internals
3.323.
read_buf
3.324.
ready_into_inner
3.325.
receiver_trait
3.326.
reentrant_lock
3.327.
restricted_std
3.328.
result_flattening
3.329.
round_char_boundary
3.330.
rt
3.331.
rustc_encodable_decodable
3.332.
sealed
3.333.
seek_seek_relative
3.334.
seek_stream_len
3.335.
set_ptr_value
3.336.
setgroups
3.337.
sgx_platform
3.338.
sized_type_properties
3.339.
slice_as_chunks
3.340.
slice_concat_ext
3.341.
slice_concat_trait
3.342.
slice_flatten
3.343.
slice_from_ptr_range
3.344.
slice_index_methods
3.345.
slice_internals
3.346.
slice_iter_mut_as_mut_slice
3.347.
slice_partition_dedup
3.348.
slice_pattern
3.349.
slice_ptr_get
3.350.
slice_range
3.351.
slice_split_once
3.352.
slice_swap_unchecked
3.353.
slice_take
3.354.
solid_ext
3.355.
sort_floats
3.356.
sort_internals
3.357.
split_array
3.358.
split_as_slice
3.359.
split_at_checked
3.360.
std_internals
3.361.
stdarch_arm_feature_detection
3.362.
stdarch_mips_feature_detection
3.363.
stdarch_powerpc_feature_detection
3.364.
stdio_makes_pipe
3.365.
step_trait
3.366.
str_from_raw_parts
3.367.
str_from_utf16_endian
3.368.
str_internals
3.369.
str_lines_remainder
3.370.
str_split_inclusive_remainder
3.371.
str_split_remainder
3.372.
str_split_whitespace_remainder
3.373.
strict_overflow_ops
3.374.
strict_provenance_atomic_ptr
3.375.
string_extend_from_within
3.376.
string_remove_matches
3.377.
sync_unsafe_cell
3.378.
tcp_deferaccept
3.379.
tcp_linger
3.380.
tcp_quickack
3.381.
tcplistener_into_incoming
3.382.
test
3.383.
thin_box
3.384.
thread_id_value
3.385.
thread_local_internals
3.386.
thread_sleep_until
3.387.
thread_spawn_unchecked
3.388.
trace_macros
3.389.
track_path
3.390.
transmutability
3.391.
trusted_fused
3.392.
trusted_len
3.393.
trusted_len_next_unchecked
3.394.
trusted_random_access
3.395.
trusted_step
3.396.
try_find
3.397.
try_reserve_kind
3.398.
try_trait_v2
3.399.
try_trait_v2_residual
3.400.
try_trait_v2_yeet
3.401.
try_with_capacity
3.402.
tuple_trait
3.403.
uefi_std
3.404.
unchecked_neg
3.405.
unchecked_shifts
3.406.
unicode_internals
3.407.
unique_rc_arc
3.408.
unix_file_vectored_at
3.409.
unix_set_mark
3.410.
unix_socket_ancillary_data
3.411.
unix_socket_peek
3.412.
unsafe_cell_from_mut
3.413.
unsafe_pin_internals
3.414.
unsize
3.415.
unwrap_infallible
3.416.
update_panic_count
3.417.
utf16_extra
3.418.
utf16_extra_const
3.419.
utf8_chunks
3.420.
variant_count
3.421.
vec_into_raw_parts
3.422.
vec_pop_if
3.423.
vec_push_within_capacity
3.424.
vec_split_at_spare
3.425.
waker_getters
3.426.
wasi_ext
3.427.
windows_by_handle
3.428.
windows_c
3.429.
windows_handle
3.430.
windows_net
3.431.
windows_process_exit_code_from
3.432.
windows_process_extensions_async_pipes
3.433.
windows_process_extensions_force_quotes
3.434.
windows_process_extensions_main_thread_handle
3.435.
windows_process_extensions_raw_attribute
3.436.
windows_stdio
3.437.
wrapping_int_impl
3.438.
wrapping_next_power_of_two
3.439.
write_all_vectored
3.440.
yeet_desugar_details
Light
Rust
Coal
Navy
Ayu
The Rust Unstable Book
windows_handle
This feature is internal to the Rust compiler and is not intended for general use.