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. 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_returns_twice
    64. 2.64. fundamental
    65. 2.65. generators
    66. 2.66. generic_associated_types
    67. 2.67. half_open_range_patterns
    68. 2.68. hexagon_target_feature
    69. 2.69. impl_trait_in_bindings
    70. 2.70. in_band_lifetimes
    71. 2.71. infer_static_outlives_requirements
    72. 2.72. intrinsics
    73. 2.73. label_break_value
    74. 2.74. lang_items
    75. 2.75. let_chains
    76. 2.76. link_args
    77. 2.77. link_cfg
    78. 2.78. link_llvm_intrinsics
    79. 2.79. linkage
    80. 2.80. lint_reasons
    81. 2.81. main
    82. 2.82. marker_trait_attr
    83. 2.83. member_constraints
    84. 2.84. min_specialization
    85. 2.85. mips_target_feature
    86. 2.86. mmx_target_feature
    87. 2.87. movbe_target_feature
    88. 2.88. move_ref_pattern
    89. 2.89. naked_functions
    90. 2.90. needs_panic_runtime
    91. 2.91. negative_impls
    92. 2.92. never_type
    93. 2.93. never_type_fallback
    94. 2.94. nll
    95. 2.95. no_core
    96. 2.96. no_niche
    97. 2.97. no_sanitize
    98. 2.98. non_ascii_idents
    99. 2.99. object_safe_for_dispatch
    100. 2.100. omit_gdb_pretty_printer_section
    101. 2.101. optimize_attribute
    102. 2.102. optin_builtin_traits
    103. 2.103. or_patterns
    104. 2.104. panic_runtime
    105. 2.105. platform_intrinsics
    106. 2.106. plugin
    107. 2.107. plugin_registrar
    108. 2.108. powerpc_target_feature
    109. 2.109. precise_pointer_size_matching
    110. 2.110. prelude_import
    111. 2.111. proc_macro_hygiene
    112. 2.112. profiler_runtime
    113. 2.113. raw_dylib
    114. 2.114. raw_ref_op
    115. 2.115. register_attr
    116. 2.116. register_tool
    117. 2.117. repr_simd
    118. 2.118. repr128
    119. 2.119. rtm_target_feature
    120. 2.120. rustc_attrs
    121. 2.121. rustc_private
    122. 2.122. simd_ffi
    123. 2.123. specialization
    124. 2.124. sse4a_target_feature
    125. 2.125. staged_api
    126. 2.126. start
    127. 2.127. static_nobundle
    128. 2.128. stmt_expr_attributes
    129. 2.129. structural_match
    130. 2.130. target_feature_11
    131. 2.131. tbm_target_feature
    132. 2.132. test_2018_feature
    133. 2.133. thread_local
    134. 2.134. track_caller
    135. 2.135. trait_alias
    136. 2.136. transparent_unions
    137. 2.137. trivial_bounds
    138. 2.138. try_blocks
    139. 2.139. type_alias_impl_trait
    140. 2.140. type_ascription
    141. 2.141. unboxed_closures
    142. 2.142. unsized_locals
    143. 2.143. unsized_tuple_coercion
    144. 2.144. untagged_unions
    145. 2.145. unwind_attributes
    146. 2.146. 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. atomic_min_max
    11. 3.11. atomic_mut_ptr
    12. 3.12. backtrace
    13. 3.13. binary_heap_drain_sorted
    14. 3.14. binary_heap_into_iter_sorted
    15. 3.15. binary_heap_retain
    16. 3.16. bool_to_option
    17. 3.17. bound_cloned
    18. 3.18. box_into_boxed_slice
    19. 3.19. box_into_pin
    20. 3.20. box_into_raw_non_null
    21. 3.21. btree_drain_filter
    22. 3.22. buffered_io_capacity
    23. 3.23. bufreader_seek_relative
    24. 3.24. c_void_variant
    25. 3.25. can_vector
    26. 3.26. cell_leak
    27. 3.27. cell_update
    28. 3.28. cfg_accessible
    29. 3.29. char_error_internals
    30. 3.30. clamp
    31. 3.31. cmp_min_max_by
    32. 3.32. coerce_unsized
    33. 3.33. concat_idents
    34. 3.34. const_alloc_layout
    35. 3.35. const_ascii_ctype_on_intrinsics
    36. 3.36. const_btree_new
    37. 3.37. const_caller_location
    38. 3.38. const_checked_int_methods
    39. 3.39. const_cstr_unchecked
    40. 3.40. const_cttz
    41. 3.41. const_discriminant
    42. 3.42. const_euclidean_int_methods
    43. 3.43. const_forget
    44. 3.44. const_generic_impls_guard
    45. 3.45. const_int_pow
    46. 3.46. const_int_sign
    47. 3.47. const_int_unchecked_arith
    48. 3.48. const_nonzero_int_methods
    49. 3.49. const_overflowing_int_methods
    50. 3.50. const_pref_align_of
    51. 3.51. const_ptr_offset_from
    52. 3.52. const_result
    53. 3.53. const_saturating_int_methods
    54. 3.54. const_slice_from_raw_parts
    55. 3.55. const_slice_ptr_len
    56. 3.56. const_transmute
    57. 3.57. const_type_id
    58. 3.58. const_type_name
    59. 3.59. const_wrapping_int_methods
    60. 3.60. constctlz
    61. 3.61. container_error_extra
    62. 3.62. convert_float_to_int
    63. 3.63. core_intrinsics
    64. 3.64. core_panic
    65. 3.65. core_private_bignum
    66. 3.66. core_private_diy_float
    67. 3.67. cow_is_borrowed
    68. 3.68. deadline_api
    69. 3.69. debug_non_exhaustive
    70. 3.70. dec2flt
    71. 3.71. deque_make_contiguous
    72. 3.72. derive_clone_copy
    73. 3.73. derive_eq
    74. 3.74. dispatch_from_dyn
    75. 3.75. div_duration
    76. 3.76. drain_filter
    77. 3.77. duration_constants
    78. 3.78. entry_insert
    79. 3.79. error_iter
    80. 3.80. error_type_id
    81. 3.81. exact_size_is_empty
    82. 3.82. fd
    83. 3.83. fd_read
    84. 3.84. fixed_size_array
    85. 3.85. flt2dec
    86. 3.86. fmt_internals
    87. 3.87. fn_traits
    88. 3.88. foo
    89. 3.89. forget_unsized
    90. 3.90. format_args_nl
    91. 3.91. future_readiness_fns
    92. 3.92. gen_future
    93. 3.93. generator_trait
    94. 3.94. get_mut_unchecked
    95. 3.95. global_asm
    96. 3.96. hash_raw_entry
    97. 3.97. hash_set_entry
    98. 3.98. hashmap_internals
    99. 3.99. inner_deref
    100. 3.100. int_error_internals
    101. 3.101. int_error_matching
    102. 3.102. integer_atomics
    103. 3.103. internal_uninit_const
    104. 3.104. io_slice_advance
    105. 3.105. ip
    106. 3.106. is_sorted
    107. 3.107. iter_is_partitioned
    108. 3.108. iter_map_while
    109. 3.109. iter_order_by
    110. 3.110. iter_partition_in_place
    111. 3.111. iterator_fold_self
    112. 3.112. layout_for_ptr
    113. 3.113. leading_trailing_ones
    114. 3.114. liballoc_internals
    115. 3.115. libstd_io_internals
    116. 3.116. libstd_sys_internals
    117. 3.117. libstd_thread_internals
    118. 3.118. linked_list_cursors
    119. 3.119. linked_list_extras
    120. 3.120. linked_list_prepend
    121. 3.121. linked_list_remove
    122. 3.122. llvm_asm
    123. 3.123. log_syntax
    124. 3.124. map_entry_replace
    125. 3.125. map_first_last
    126. 3.126. maybe_uninit_extra
    127. 3.127. maybe_uninit_ref
    128. 3.128. maybe_uninit_slice
    129. 3.129. maybe_uninit_slice_assume_init
    130. 3.130. maybe_uninit_uninit_array
    131. 3.131. new_uninit
    132. 3.132. no_more_cas
    133. 3.133. once_poison
    134. 3.134. option_expect_none
    135. 3.135. option_result_contains
    136. 3.136. option_unwrap_none
    137. 3.137. option_zip
    138. 3.138. or_insert_with_key
    139. 3.139. osstring_ascii
    140. 3.140. panic_abort
    141. 3.141. panic_info_message
    142. 3.142. panic_internals
    143. 3.143. panic_unwind
    144. 3.144. pattern
    145. 3.145. poll_map
    146. 3.146. print_internals
    147. 3.147. proc_macro_def_site
    148. 3.148. proc_macro_diagnostic
    149. 3.149. proc_macro_internals
    150. 3.150. proc_macro_is_available
    151. 3.151. proc_macro_quote
    152. 3.152. proc_macro_raw_ident
    153. 3.153. proc_macro_span
    154. 3.154. process_exitcode_placeholder
    155. 3.155. process_internals
    156. 3.156. process_set_argv0
    157. 3.157. profiler_runtime_lib
    158. 3.158. ptr_internals
    159. 3.159. ptr_offset_from
    160. 3.160. ptr_wrapping_offset_from
    161. 3.161. range_is_empty
    162. 3.162. raw
    163. 3.163. raw_vec_internals
    164. 3.164. rc_into_raw_non_null
    165. 3.165. read_initializer
    166. 3.166. receiver_trait
    167. 3.167. refcell_take
    168. 3.168. renamed_spin_loop
    169. 3.169. result_cloned
    170. 3.170. result_contains_err
    171. 3.171. result_copied
    172. 3.172. result_flattening
    173. 3.173. rt
    174. 3.174. saturating_neg
    175. 3.175. seek_convenience
    176. 3.176. set_stdio
    177. 3.177. sgx_platform
    178. 3.178. shrink_to
    179. 3.179. slice_concat_ext
    180. 3.180. slice_concat_trait
    181. 3.181. slice_fill
    182. 3.182. slice_index_methods
    183. 3.183. slice_internals
    184. 3.184. slice_iter_mut_as_slice
    185. 3.185. slice_partition_at_index
    186. 3.186. slice_partition_dedup
    187. 3.187. slice_ptr_len
    188. 3.188. slice_ptr_range
    189. 3.189. sort_internals
    190. 3.190. split_inclusive
    191. 3.191. std_internals
    192. 3.192. stdsimd
    193. 3.193. step_trait
    194. 3.194. str_internals
    195. 3.195. str_strip
    196. 3.196. tau_constant
    197. 3.197. termination_trait_lib
    198. 3.198. test
    199. 3.199. thread_id_value
    200. 3.200. thread_local_internals
    201. 3.201. thread_spawn_unchecked
    202. 3.202. tidy_test_never_used_anywhere_else
    203. 3.203. toowned_clone_into
    204. 3.204. trace_macros
    205. 3.205. trusted_len
    206. 3.206. try_find
    207. 3.207. try_reserve
    208. 3.208. try_trait
    209. 3.209. type_name_of_val
    210. 3.210. unicode_internals
    211. 3.211. unsafe_cell_raw_get
    212. 3.212. unsize
    213. 3.213. unwrap_infallible
    214. 3.214. update_panic_count
    215. 3.215. vec_drain_as_slice
    216. 3.216. vec_into_raw_parts
    217. 3.217. vec_leak
    218. 3.218. vec_remove_item
    219. 3.219. vec_resize_default
    220. 3.220. wake_trait
    221. 3.221. wasi_ext
    222. 3.222. weak_into_raw
    223. 3.223. windows_by_handle
    224. 3.224. windows_c
    225. 3.225. windows_file_type_ext
    226. 3.226. windows_handle
    227. 3.227. windows_net
    228. 3.228. windows_stdio
    229. 3.229. with_options
    230. 3.230. wrapping_int_impl
    231. 3.231. wrapping_next_power_of_two
    232. 3.232. write_all_vectored

The Rust Unstable Book

Language features