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

The Rust Unstable Book

Library Features