The Unstable Book
1.
Compiler flags
1.1.
codegen_backend
1.2.
control_flow_guard
1.3.
emit_stack_sizes
1.4.
profile
1.5.
report_time
1.6.
sanitizer
1.7.
self_profile
1.8.
self_profile_events
1.9.
source_based_code_coverage
1.10.
src_hash_algorithm
1.11.
strip
1.12.
tls_model
1.13.
unsound_mir_opts
2.
Language features
2.1.
aarch64_target_feature
2.2.
abi_amdgpu_kernel
2.3.
abi_avr_interrupt
2.4.
abi_efiapi
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.
adx_target_feature
2.12.
alloc_error_handler
2.13.
allocator_internals
2.14.
allow_fail
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.
associated_type_bounds
2.21.
associated_type_defaults
2.22.
async_closure
2.23.
avx512_target_feature
2.24.
bindings_after_at
2.25.
box_patterns
2.26.
box_syntax
2.27.
c_variadic
2.28.
capture_disjoint_fields
2.29.
cfg_panic
2.30.
cfg_sanitize
2.31.
cfg_target_has_atomic
2.32.
cfg_target_thread_local
2.33.
cfg_version
2.34.
cmpxchg16b_target_feature
2.35.
cmse_nonsecure_entry
2.36.
compiler_builtins
2.37.
const_eval_limit
2.38.
const_evaluatable_checked
2.39.
const_extern_fn
2.40.
const_fn
2.41.
const_fn_floating_point_arithmetic
2.42.
const_fn_fn_ptr_basics
2.43.
const_fn_transmute
2.44.
const_fn_union
2.45.
const_generics
2.46.
const_impl_trait
2.47.
const_in_array_repeat_expressions
2.48.
const_mut_refs
2.49.
const_panic
2.50.
const_precise_live_drops
2.51.
const_raw_ptr_deref
2.52.
const_raw_ptr_to_usize_cast
2.53.
const_trait_bound_opt_out
2.54.
const_trait_impl
2.55.
crate_visibility_modifier
2.56.
custom_inner_attributes
2.57.
custom_test_frameworks
2.58.
decl_macro
2.59.
default_alloc_error_handler
2.60.
default_type_parameter_fallback
2.61.
destructuring_assignment
2.62.
doc_cfg
2.63.
doc_keyword
2.64.
doc_masked
2.65.
doc_spotlight
2.66.
dropck_eyepatch
2.67.
ermsb_target_feature
2.68.
exclusive_range_pattern
2.69.
exhaustive_patterns
2.70.
extern_types
2.71.
external_doc
2.72.
f16c_target_feature
2.73.
ffi_const
2.74.
ffi_pure
2.75.
ffi_returns_twice
2.76.
format_args_capture
2.77.
fundamental
2.78.
generators
2.79.
generic_associated_types
2.80.
half_open_range_patterns
2.81.
hexagon_target_feature
2.82.
if_let_guard
2.83.
impl_trait_in_bindings
2.84.
in_band_lifetimes
2.85.
infer_static_outlives_requirements
2.86.
inline_const
2.87.
intrinsics
2.88.
isa_attribute
2.89.
label_break_value
2.90.
lang_items
2.91.
lazy_normalization_consts
2.92.
let_chains
2.93.
link_args
2.94.
link_cfg
2.95.
link_llvm_intrinsics
2.96.
linkage
2.97.
lint_reasons
2.98.
main
2.99.
marker_trait_attr
2.100.
member_constraints
2.101.
min_const_generics
2.102.
min_specialization
2.103.
mips_target_feature
2.104.
movbe_target_feature
2.105.
naked_functions
2.106.
needs_panic_runtime
2.107.
negative_impls
2.108.
never_type
2.109.
never_type_fallback
2.110.
nll
2.111.
no_core
2.112.
no_niche
2.113.
no_sanitize
2.114.
non_ascii_idents
2.115.
object_safe_for_dispatch
2.116.
omit_gdb_pretty_printer_section
2.117.
optimize_attribute
2.118.
optin_builtin_traits
2.119.
or_patterns
2.120.
panic_runtime
2.121.
platform_intrinsics
2.122.
plugin
2.123.
plugin_registrar
2.124.
powerpc_target_feature
2.125.
precise_pointer_size_matching
2.126.
prelude_import
2.127.
proc_macro_hygiene
2.128.
profiler_runtime
2.129.
raw_dylib
2.130.
raw_ref_op
2.131.
register_attr
2.132.
register_tool
2.133.
repr_simd
2.134.
repr128
2.135.
riscv_target_feature
2.136.
rtm_target_feature
2.137.
rustc_allow_const_fn_unstable
2.138.
rustc_attrs
2.139.
rustc_private
2.140.
simd_ffi
2.141.
specialization
2.142.
sse4a_target_feature
2.143.
staged_api
2.144.
start
2.145.
static_nobundle
2.146.
stmt_expr_attributes
2.147.
structural_match
2.148.
target_feature_11
2.149.
tbm_target_feature
2.150.
test_2018_feature
2.151.
thread_local
2.152.
trait_alias
2.153.
transparent_unions
2.154.
trivial_bounds
2.155.
try_blocks
2.156.
type_alias_impl_trait
2.157.
type_ascription
2.158.
unboxed_closures
2.159.
unsafe_block_in_unsafe_fn
2.160.
unsized_fn_params
2.161.
unsized_locals
2.162.
unsized_tuple_coercion
2.163.
untagged_unions
2.164.
unwind_attributes
2.165.
wasm_target_feature
3.
Library Features
3.1.
alloc_error_hook
3.2.
alloc_internals
3.3.
alloc_layout_extra
3.4.
alloc_prelude
3.5.
allocator_api
3.6.
arc_mutate_strong_count
3.7.
arc_new_cyclic
3.8.
array_chunks
3.9.
array_error_internals
3.10.
array_from_ref
3.11.
array_map
3.12.
array_methods
3.13.
array_value_iter
3.14.
array_value_iter_slice
3.15.
array_windows
3.16.
asm
3.17.
assoc_char_consts
3.18.
assoc_char_funcs
3.19.
atomic_fetch_update
3.20.
atomic_from_mut
3.21.
atomic_mut_ptr
3.22.
available_concurrency
3.23.
backtrace
3.24.
binary_heap_drain_sorted
3.25.
binary_heap_into_iter_sorted
3.26.
binary_heap_retain
3.27.
bool_to_option
3.28.
bound_cloned
3.29.
box_into_boxed_slice
3.30.
box_into_pin
3.31.
btree_drain_filter
3.32.
btree_retain
3.33.
bufreader_seek_relative
3.34.
c_void_variant
3.35.
can_vector
3.36.
cell_leak
3.37.
cell_update
3.38.
cfg_accessible
3.39.
char_error_internals
3.40.
char_internals
3.41.
clamp
3.42.
cmp_min_max_by
3.43.
coerce_unsized
3.44.
command_access
3.45.
concat_idents
3.46.
const_align_of_val
3.47.
const_alloc_layout
3.48.
const_assume
3.49.
const_btree_new
3.50.
const_caller_location
3.51.
const_cell_into_inner
3.52.
const_checked_int_methods
3.53.
const_cow_is_borrowed
3.54.
const_cstr_unchecked
3.55.
const_cttz
3.56.
const_discriminant
3.57.
const_euclidean_int_methods
3.58.
const_float_bits_conv
3.59.
const_float_classify
3.60.
const_int_pow
3.61.
const_int_unchecked_arith
3.62.
const_io_structs
3.63.
const_ip
3.64.
const_ipv4
3.65.
const_ipv6
3.66.
const_likely
3.67.
const_maybe_uninit_as_ptr
3.68.
const_nonnull_slice_from_raw_parts
3.69.
const_option
3.70.
const_overflowing_int_methods
3.71.
const_pin
3.72.
const_pref_align_of
3.73.
const_ptr_is_null
3.74.
const_ptr_offset
3.75.
const_ptr_offset_from
3.76.
const_raw_ptr_comparison
3.77.
const_size_of_val
3.78.
const_slice_from_raw_parts
3.79.
const_slice_ptr_len
3.80.
const_str_from_utf8_unchecked
3.81.
const_type_id
3.82.
const_type_name
3.83.
const_unreachable_unchecked
3.84.
const_wrapping_int_methods
3.85.
constctlz
3.86.
container_error_extra
3.87.
control_flow_enum
3.88.
convert_float_to_int
3.89.
core_intrinsics
3.90.
core_panic
3.91.
core_private_bignum
3.92.
core_private_diy_float
3.93.
cow_is_borrowed
3.94.
cstring_from_vec_with_nul
3.95.
deadline_api
3.96.
debug_non_exhaustive
3.97.
dec2flt
3.98.
default_free_fn
3.99.
deque_range
3.100.
derive_clone_copy
3.101.
derive_eq
3.102.
discriminant_kind
3.103.
dispatch_from_dyn
3.104.
div_duration
3.105.
drain_filter
3.106.
duration_constants
3.107.
duration_consts_2
3.108.
duration_saturating_ops
3.109.
duration_zero
3.110.
entry_insert
3.111.
error_iter
3.112.
error_type_id
3.113.
exact_size_is_empty
3.114.
extend_one
3.115.
fd
3.116.
fd_read
3.117.
fixed_size_array
3.118.
flt2dec
3.119.
fmt_as_str
3.120.
fmt_internals
3.121.
fn_traits
3.122.
foo
3.123.
forget_unsized
3.124.
format_args_nl
3.125.
future_poll_fn
3.126.
gen_future
3.127.
generator_trait
3.128.
get_mut_unchecked
3.129.
global_asm
3.130.
hash_drain_filter
3.131.
hash_raw_entry
3.132.
hash_set_entry
3.133.
hashmap_internals
3.134.
inplace_iteration
3.135.
int_bits_const
3.136.
int_error_internals
3.137.
int_error_matching
3.138.
integer_atomics
3.139.
internal_output_capture
3.140.
into_future
3.141.
io_slice_advance
3.142.
ip
3.143.
is_sorted
3.144.
iter_advance_by
3.145.
iter_is_partitioned
3.146.
iter_map_while
3.147.
iter_order_by
3.148.
iter_partition_in_place
3.149.
iterator_fold_self
3.150.
layout_for_ptr
3.151.
liballoc_internals
3.152.
libstd_sys_internals
3.153.
libstd_thread_internals
3.154.
linked_list_cursors
3.155.
linked_list_extras
3.156.
linked_list_prepend
3.157.
linked_list_remove
3.158.
llvm_asm
3.159.
log_syntax
3.160.
map_entry_replace
3.161.
map_first_last
3.162.
map_into_keys_values
3.163.
maybe_uninit_extra
3.164.
maybe_uninit_ref
3.165.
maybe_uninit_slice
3.166.
maybe_uninit_uninit_array
3.167.
new_uninit
3.168.
nonnull_slice_from_raw_parts
3.169.
nonzero_leading_trailing_zeros
3.170.
num_as_ne_bytes
3.171.
once_cell
3.172.
once_poison
3.173.
option_expect_none
3.174.
option_insert
3.175.
option_result_contains
3.176.
option_unwrap_none
3.177.
option_zip
3.178.
or_insert_with_key
3.179.
osstring_ascii
3.180.
panic_abort
3.181.
panic_any
3.182.
panic_info_message
3.183.
panic_internals
3.184.
panic_unwind
3.185.
partition_point
3.186.
pattern
3.187.
peekable_next_if
3.188.
peer_credentials_unix_socket
3.189.
pin_static_ref
3.190.
poll_map
3.191.
print_internals
3.192.
proc_macro_def_site
3.193.
proc_macro_diagnostic
3.194.
proc_macro_internals
3.195.
proc_macro_is_available
3.196.
proc_macro_quote
3.197.
proc_macro_span
3.198.
proc_macro_tracked_env
3.199.
process_exitcode_placeholder
3.200.
process_internals
3.201.
profiler_runtime_lib
3.202.
ptr_as_uninit
3.203.
ptr_internals
3.204.
range_bounds_assert_len
3.205.
raw
3.206.
raw_ref_macros
3.207.
raw_vec_internals
3.208.
read_initializer
3.209.
ready_macro
3.210.
receiver_trait
3.211.
refcell_take
3.212.
restricted_std
3.213.
result_cloned
3.214.
result_contains_err
3.215.
result_copied
3.216.
result_flattening
3.217.
rt
3.218.
seek_convenience
3.219.
set_ptr_value
3.220.
sgx_platform
3.221.
shrink_to
3.222.
slice_as_chunks
3.223.
slice_concat_ext
3.224.
slice_concat_trait
3.225.
slice_fill
3.226.
slice_fill_with
3.227.
slice_index_methods
3.228.
slice_internals
3.229.
slice_iter_mut_as_slice
3.230.
slice_partition_at_index
3.231.
slice_partition_dedup
3.232.
slice_ptr_get
3.233.
slice_ptr_len
3.234.
slice_split_at_unchecked
3.235.
slice_strip
3.236.
sort_internals
3.237.
split_inclusive
3.238.
std_internals
3.239.
stdsimd
3.240.
step_trait
3.241.
step_trait_ext
3.242.
str_internals
3.243.
str_split_as_str
3.244.
str_split_inclusive_as_str
3.245.
str_split_once
3.246.
string_drain_as_str
3.247.
termination_trait_lib
3.248.
test
3.249.
thread_id_value
3.250.
thread_local_internals
3.251.
thread_spawn_unchecked
3.252.
toowned_clone_into
3.253.
total_cmp
3.254.
trace_macros
3.255.
trusted_len
3.256.
trusted_random_access
3.257.
try_find
3.258.
try_reserve
3.259.
try_trait
3.260.
type_name_of_val
3.261.
unchecked_math
3.262.
unicode_internals
3.263.
unix_socket_peek
3.264.
unsafe_cell_get_mut
3.265.
unsafe_cell_raw_get
3.266.
unsigned_abs
3.267.
unsize
3.268.
unwrap_infallible
3.269.
update_panic_count
3.270.
variant_count
3.271.
vec_into_raw_parts
3.272.
vec_remove_item
3.273.
vec_spare_capacity
3.274.
vecdeque_binary_search
3.275.
wake_trait
3.276.
wasi_ext
3.277.
windows_by_handle
3.278.
windows_c
3.279.
windows_file_type_ext
3.280.
windows_handle
3.281.
windows_net
3.282.
windows_stdio
3.283.
with_options
3.284.
wrapping_int_impl
3.285.
wrapping_next_power_of_two
3.286.
write_all_vectored
Light (default)
Rust
Coal
Navy
Ayu
The Rust Unstable Book
const_fn_fn_ptr_basics
The tracking issue for this feature is:
#57563