1. The Unstable Book
  2. 1. Compiler flags
    1. 1.1. control_flow_guard
    2. 1.2. emit_stack_sizes
    3. 1.3. profile
    4. 1.4. report_time
    5. 1.5. sanitizer
    6. 1.6. self_profile
    7. 1.7. self_profile_events
    8. 1.8. src_hash_algorithm
    9. 1.9. strip
    10. 1.10. tls_model
  3. 2. Language features
    1. 2.1. aarch64_target_feature
    2. 2.2. abi_amdgpu_kernel
    3. 2.3. abi_efiapi
    4. 2.4. abi_msp430_interrupt
    5. 2.5. abi_ptx
    6. 2.6. abi_thiscall
    7. 2.7. abi_unadjusted
    8. 2.8. abi_vectorcall
    9. 2.9. abi_x86_interrupt
    10. 2.10. adx_target_feature
    11. 2.11. alloc_error_handler
    12. 2.12. allocator_internals
    13. 2.13. allow_fail
    14. 2.14. allow_internal_unsafe
    15. 2.15. allow_internal_unstable
    16. 2.16. arbitrary_enum_discriminant
    17. 2.17. arbitrary_self_types
    18. 2.18. arm_target_feature
    19. 2.19. associated_type_bounds
    20. 2.20. associated_type_defaults
    21. 2.21. async_closure
    22. 2.22. avx512_target_feature
    23. 2.23. bindings_after_at
    24. 2.24. box_patterns
    25. 2.25. box_syntax
    26. 2.26. c_variadic
    27. 2.27. cfg_sanitize
    28. 2.28. cfg_target_has_atomic
    29. 2.29. cfg_target_thread_local
    30. 2.30. cfg_version
    31. 2.31. cmpxchg16b_target_feature
    32. 2.32. compiler_builtins
    33. 2.33. const_compare_raw_pointers
    34. 2.34. const_eval_limit
    35. 2.35. const_extern_fn
    36. 2.36. const_fn
    37. 2.37. const_fn_union
    38. 2.38. const_generics
    39. 2.39. const_if_match
    40. 2.40. const_in_array_repeat_expressions
    41. 2.41. const_loop
    42. 2.42. const_mut_refs
    43. 2.43. const_panic
    44. 2.44. const_raw_ptr_deref
    45. 2.45. const_raw_ptr_to_usize_cast
    46. 2.46. const_trait_bound_opt_out
    47. 2.47. const_trait_impl
    48. 2.48. crate_visibility_modifier
    49. 2.49. custom_inner_attributes
    50. 2.50. custom_test_frameworks
    51. 2.51. decl_macro
    52. 2.52. default_type_parameter_fallback
    53. 2.53. doc_alias
    54. 2.54. doc_cfg
    55. 2.55. doc_keyword
    56. 2.56. doc_masked
    57. 2.57. dropck_eyepatch
    58. 2.58. exclusive_range_pattern
    59. 2.59. exhaustive_patterns
    60. 2.60. extern_types
    61. 2.61. external_doc
    62. 2.62. f16c_target_feature
    63. 2.63. ffi_const
    64. 2.64. ffi_pure
    65. 2.65. ffi_returns_twice
    66. 2.66. fundamental
    67. 2.67. generators
    68. 2.68. generic_associated_types
    69. 2.69. half_open_range_patterns
    70. 2.70. hexagon_target_feature
    71. 2.71. impl_trait_in_bindings
    72. 2.72. in_band_lifetimes
    73. 2.73. infer_static_outlives_requirements
    74. 2.74. intrinsics
    75. 2.75. label_break_value
    76. 2.76. lang_items
    77. 2.77. let_chains
    78. 2.78. link_args
    79. 2.79. link_cfg
    80. 2.80. link_llvm_intrinsics
    81. 2.81. linkage
    82. 2.82. lint_reasons
    83. 2.83. main
    84. 2.84. marker_trait_attr
    85. 2.85. member_constraints
    86. 2.86. min_specialization
    87. 2.87. mips_target_feature
    88. 2.88. mmx_target_feature
    89. 2.89. movbe_target_feature
    90. 2.90. move_ref_pattern
    91. 2.91. naked_functions
    92. 2.92. needs_panic_runtime
    93. 2.93. negative_impls
    94. 2.94. never_type
    95. 2.95. never_type_fallback
    96. 2.96. nll
    97. 2.97. no_core
    98. 2.98. no_niche
    99. 2.99. no_sanitize
    100. 2.100. non_ascii_idents
    101. 2.101. object_safe_for_dispatch
    102. 2.102. omit_gdb_pretty_printer_section
    103. 2.103. optimize_attribute
    104. 2.104. optin_builtin_traits
    105. 2.105. or_patterns
    106. 2.106. panic_runtime
    107. 2.107. platform_intrinsics
    108. 2.108. plugin
    109. 2.109. plugin_registrar
    110. 2.110. powerpc_target_feature
    111. 2.111. precise_pointer_size_matching
    112. 2.112. prelude_import
    113. 2.113. proc_macro_hygiene
    114. 2.114. profiler_runtime
    115. 2.115. raw_dylib
    116. 2.116. raw_ref_op
    117. 2.117. register_attr
    118. 2.118. register_tool
    119. 2.119. repr_simd
    120. 2.120. repr128
    121. 2.121. riscv_target_feature
    122. 2.122. rtm_target_feature
    123. 2.123. rustc_attrs
    124. 2.124. rustc_private
    125. 2.125. simd_ffi
    126. 2.126. specialization
    127. 2.127. sse4a_target_feature
    128. 2.128. staged_api
    129. 2.129. start
    130. 2.130. static_nobundle
    131. 2.131. stmt_expr_attributes
    132. 2.132. structural_match
    133. 2.133. target_feature_11
    134. 2.134. tbm_target_feature
    135. 2.135. test_2018_feature
    136. 2.136. thread_local
    137. 2.137. track_caller
    138. 2.138. trait_alias
    139. 2.139. transparent_unions
    140. 2.140. trivial_bounds
    141. 2.141. try_blocks
    142. 2.142. type_alias_impl_trait
    143. 2.143. type_ascription
    144. 2.144. unboxed_closures
    145. 2.145. unsafe_block_in_unsafe_fn
    146. 2.146. unsized_locals
    147. 2.147. unsized_tuple_coercion
    148. 2.148. untagged_unions
    149. 2.149. unwind_attributes
    150. 2.150. wasm_target_feature
  4. 3. Library Features
    1. 3.1. alloc_error_hook
    2. 3.2. alloc_internals
    3. 3.3. alloc_layout_extra
    4. 3.4. alloc_prelude
    5. 3.5. allocator_api
    6. 3.6. arc_mutate_strong_count
    7. 3.7. array_error_internals
    8. 3.8. array_value_iter
    9. 3.9. asm
    10. 3.10. assoc_char_consts
    11. 3.11. assoc_char_funcs
    12. 3.12. atomic_mut_ptr
    13. 3.13. backtrace
    14. 3.14. binary_heap_drain_sorted
    15. 3.15. binary_heap_into_iter_sorted
    16. 3.16. binary_heap_retain
    17. 3.17. bool_to_option
    18. 3.18. bound_cloned
    19. 3.19. box_into_boxed_slice
    20. 3.20. box_into_pin
    21. 3.21. box_into_raw_non_null
    22. 3.22. btree_drain_filter
    23. 3.23. buffered_io_capacity
    24. 3.24. bufreader_seek_relative
    25. 3.25. c_void_variant
    26. 3.26. can_vector
    27. 3.27. cell_leak
    28. 3.28. cell_update
    29. 3.29. cfg_accessible
    30. 3.30. char_error_internals
    31. 3.31. char_internals
    32. 3.32. clamp
    33. 3.33. cmp_min_max_by
    34. 3.34. coerce_unsized
    35. 3.35. concat_idents
    36. 3.36. const_alloc_layout
    37. 3.37. const_ascii_ctype_on_intrinsics
    38. 3.38. const_btree_new
    39. 3.39. const_caller_location
    40. 3.40. const_checked_int_methods
    41. 3.41. const_cstr_unchecked
    42. 3.42. const_cttz
    43. 3.43. const_discriminant
    44. 3.44. const_euclidean_int_methods
    45. 3.45. const_forget
    46. 3.46. const_generic_impls_guard
    47. 3.47. const_int_pow
    48. 3.48. const_int_sign
    49. 3.49. const_int_unchecked_arith
    50. 3.50. const_nonnull_slice_from_raw_parts
    51. 3.51. const_nonzero_int_methods
    52. 3.52. const_overflowing_int_methods
    53. 3.53. const_pref_align_of
    54. 3.54. const_ptr_offset
    55. 3.55. const_ptr_offset_from
    56. 3.56. const_result
    57. 3.57. const_saturating_int_methods
    58. 3.58. const_slice_from_raw_parts
    59. 3.59. const_slice_ptr_len
    60. 3.60. const_transmute
    61. 3.61. const_type_id
    62. 3.62. const_type_name
    63. 3.63. const_wrapping_int_methods
    64. 3.64. constctlz
    65. 3.65. container_error_extra
    66. 3.66. convert_float_to_int
    67. 3.67. core_intrinsics
    68. 3.68. core_panic
    69. 3.69. core_private_bignum
    70. 3.70. core_private_diy_float
    71. 3.71. cow_is_borrowed
    72. 3.72. deadline_api
    73. 3.73. debug_non_exhaustive
    74. 3.74. dec2flt
    75. 3.75. deque_make_contiguous
    76. 3.76. derive_clone_copy
    77. 3.77. derive_eq
    78. 3.78. discriminant_kind
    79. 3.79. dispatch_from_dyn
    80. 3.80. div_duration
    81. 3.81. drain_filter
    82. 3.82. duration_constants
    83. 3.83. entry_insert
    84. 3.84. error_iter
    85. 3.85. error_type_id
    86. 3.86. exact_size_is_empty
    87. 3.87. extend_one
    88. 3.88. fd
    89. 3.89. fd_read
    90. 3.90. fixed_size_array
    91. 3.91. flt2dec
    92. 3.92. fmt_internals
    93. 3.93. fn_traits
    94. 3.94. foo
    95. 3.95. forget_unsized
    96. 3.96. format_args_nl
    97. 3.97. future_readiness_fns
    98. 3.98. gen_future
    99. 3.99. generator_trait
    100. 3.100. get_mut_unchecked
    101. 3.101. global_asm
    102. 3.102. hash_raw_entry
    103. 3.103. hash_set_entry
    104. 3.104. hashmap_internals
    105. 3.105. inner_deref
    106. 3.106. int_error_internals
    107. 3.107. int_error_matching
    108. 3.108. integer_atomics
    109. 3.109. internal_uninit_const
    110. 3.110. into_future
    111. 3.111. io_slice_advance
    112. 3.112. ip
    113. 3.113. is_sorted
    114. 3.114. iter_is_partitioned
    115. 3.115. iter_map_while
    116. 3.116. iter_order_by
    117. 3.117. iter_partition_in_place
    118. 3.118. iterator_fold_self
    119. 3.119. layout_for_ptr
    120. 3.120. leading_trailing_ones
    121. 3.121. liballoc_internals
    122. 3.122. libstd_io_internals
    123. 3.123. libstd_sys_internals
    124. 3.124. libstd_thread_internals
    125. 3.125. linked_list_cursors
    126. 3.126. linked_list_extras
    127. 3.127. linked_list_prepend
    128. 3.128. linked_list_remove
    129. 3.129. llvm_asm
    130. 3.130. log_syntax
    131. 3.131. map_entry_replace
    132. 3.132. map_first_last
    133. 3.133. maybe_uninit_extra
    134. 3.134. maybe_uninit_ref
    135. 3.135. maybe_uninit_slice
    136. 3.136. maybe_uninit_slice_assume_init
    137. 3.137. maybe_uninit_uninit_array
    138. 3.138. new_uninit
    139. 3.139. nonnull_slice_from_raw_parts
    140. 3.140. once_poison
    141. 3.141. option_expect_none
    142. 3.142. option_result_contains
    143. 3.143. option_unwrap_none
    144. 3.144. option_zip
    145. 3.145. or_insert_with_key
    146. 3.146. osstring_ascii
    147. 3.147. panic_abort
    148. 3.148. panic_info_message
    149. 3.149. panic_internals
    150. 3.150. panic_unwind
    151. 3.151. pattern
    152. 3.152. peekable_next_if
    153. 3.153. poll_map
    154. 3.154. print_internals
    155. 3.155. proc_macro_def_site
    156. 3.156. proc_macro_diagnostic
    157. 3.157. proc_macro_internals
    158. 3.158. proc_macro_is_available
    159. 3.159. proc_macro_quote
    160. 3.160. proc_macro_raw_ident
    161. 3.161. proc_macro_span
    162. 3.162. process_exitcode_placeholder
    163. 3.163. process_internals
    164. 3.164. profiler_runtime_lib
    165. 3.165. ptr_internals
    166. 3.166. ptr_offset_from
    167. 3.167. ptr_wrapping_offset_from
    168. 3.168. range_is_empty
    169. 3.169. raw
    170. 3.170. raw_vec_internals
    171. 3.171. rc_into_raw_non_null
    172. 3.172. read_initializer
    173. 3.173. receiver_trait
    174. 3.174. refcell_take
    175. 3.175. renamed_spin_loop
    176. 3.176. result_cloned
    177. 3.177. result_contains_err
    178. 3.178. result_copied
    179. 3.179. result_flattening
    180. 3.180. rt
    181. 3.181. seek_convenience
    182. 3.182. set_stdio
    183. 3.183. sgx_platform
    184. 3.184. shrink_to
    185. 3.185. slice_concat_ext
    186. 3.186. slice_concat_trait
    187. 3.187. slice_fill
    188. 3.188. slice_index_methods
    189. 3.189. slice_internals
    190. 3.190. slice_iter_mut_as_slice
    191. 3.191. slice_partition_at_index
    192. 3.192. slice_partition_dedup
    193. 3.193. slice_ptr_len
    194. 3.194. slice_ptr_range
    195. 3.195. sort_internals
    196. 3.196. split_inclusive
    197. 3.197. std_internals
    198. 3.198. stdsimd
    199. 3.199. step_trait
    200. 3.200. step_trait_ext
    201. 3.201. str_internals
    202. 3.202. tau_constant
    203. 3.203. termination_trait_lib
    204. 3.204. test
    205. 3.205. thread_id_value
    206. 3.206. thread_local_internals
    207. 3.207. thread_spawn_unchecked
    208. 3.208. tidy_test_never_used_anywhere_else
    209. 3.209. toowned_clone_into
    210. 3.210. total_cmp
    211. 3.211. trace_macros
    212. 3.212. trusted_len
    213. 3.213. try_find
    214. 3.214. try_reserve
    215. 3.215. try_trait
    216. 3.216. type_name_of_val
    217. 3.217. unchecked_math
    218. 3.218. unicode_internals
    219. 3.219. unsafe_cell_raw_get
    220. 3.220. unsize
    221. 3.221. unwrap_infallible
    222. 3.222. update_panic_count
    223. 3.223. vec_drain_as_slice
    224. 3.224. vec_into_raw_parts
    225. 3.225. vec_leak
    226. 3.226. vec_remove_item
    227. 3.227. vec_resize_default
    228. 3.228. wake_trait
    229. 3.229. wasi_ext
    230. 3.230. windows_by_handle
    231. 3.231. windows_c
    232. 3.232. windows_file_type_ext
    233. 3.233. windows_handle
    234. 3.234. windows_net
    235. 3.235. windows_stdio
    236. 3.236. with_options
    237. 3.237. wrapping_int_impl
    238. 3.238. wrapping_next_power_of_two
    239. 3.239. write_all_vectored

The Rust Unstable Book

Library Features