- The Unstable Book
- 1. Compiler flags
- 1.1. autodiff
- 1.2. branch_protection
- 1.3. cf_protection
- 1.4. codegen_backend
- 1.5. codegen_options
- 1.6. control_flow_guard
- 1.7. coverage_options
- 1.8. debug_info_for_profiling
- 1.9. debug_info_type_line_numbers
- 1.10. default_visibility
- 1.11. direct_access_external_data
- 1.12. dump_mono_stats
- 1.13. dump_mono_stats_format
- 1.14. dwarf_version
- 1.15. dylib_lto
- 1.16. embed_source
- 1.17. emit_stack_sizes
- 1.18. emscripten_wasm_eh
- 1.19. env_set
- 1.20. export_executable_symbols
- 1.21. extern_options
- 1.22. external_clangrt
- 1.23. fixed_x18
- 1.24. fmt_debug
- 1.25. function_return
- 1.26. instrument_xray
- 1.27. link_native_libraries
- 1.28. linker_features
- 1.29. lint_llvm_ir
- 1.30. llvm_module_flag
- 1.31. location_detail
- 1.32. min_function_alignment
- 1.33. move_size_limit
- 1.34. no_jump_tables
- 1.35. no_parallel_llvm
- 1.36. no_unique_section_names
- 1.37. on_broken_pipe
- 1.38. patchable_function_entry
- 1.39. print_check_cfg
- 1.40. profile_sample_use
- 1.41. randomize_layout
- 1.42. reg_struct_return
- 1.43. regparm
- 1.44. remap_cwd_prefix
- 1.45. remap_path_scope
- 1.46. report_time
- 1.47. sanitizer
- 1.48. self_profile
- 1.49. self_profile_events
- 1.50. shell_argfiles
- 1.51. small_data_threshold
- 1.52. src_hash_algorithm
- 1.53. temps_dir
- 1.54. tiny_const_eval_limit
- 1.55. tls_model
- 1.56. ub_checks
- 1.57. unsound_mir_opts
- 1.58. verbose_asm
- 1.59. virtual_function_elimination
- 1.60. wasm_c_abi
- 2. Language features
- 2.1. aarch64_unstable_target_feature
- 2.2. aarch64_ver_target_feature
- 2.3. abi_avr_interrupt
- 2.4. abi_c_cmse_nonsecure_call
- 2.5. abi_gpu_kernel
- 2.6. abi_msp430_interrupt
- 2.7. abi_ptx
- 2.8. abi_riscv_interrupt
- 2.9. abi_unadjusted
- 2.10. abi_vectorcall
- 2.11. abi_x86_interrupt
- 2.12. adt_const_params
- 2.13. alloc_error_handler
- 2.14. allocator_internals
- 2.15. allow_internal_unsafe
- 2.16. allow_internal_unstable
- 2.17. anonymous_lifetime_in_impl_trait
- 2.18. arbitrary_self_types
- 2.19. arbitrary_self_types_pointers
- 2.20. arm_target_feature
- 2.21. asm_experimental_arch
- 2.22. asm_experimental_reg
- 2.23. asm_goto
- 2.24. asm_goto_with_outputs
- 2.25. asm_unwind
- 2.26. associated_const_equality
- 2.27. associated_type_defaults
- 2.28. async_fn_in_dyn_trait
- 2.29. async_fn_track_caller
- 2.30. async_for_loop
- 2.31. async_trait_bounds
- 2.32. auto_traits
- 2.33. avx512_target_feature
- 2.34. box_patterns
- 2.35. bpf_target_feature
- 2.36. builtin_syntax
- 2.37. c_variadic
- 2.38. cfg_boolean_literals
- 2.39. cfg_contract_checks
- 2.40. cfg_emscripten_wasm_eh
- 2.41. cfg_overflow_checks
- 2.42. cfg_relocation_model
- 2.43. cfg_sanitize
- 2.44. cfg_sanitizer_cfi
- 2.45. cfg_target_compact
- 2.46. cfg_target_has_atomic
- 2.47. cfg_target_has_atomic_equal_alignment
- 2.48. cfg_target_thread_local
- 2.49. cfg_ub_checks
- 2.50. cfg_version
- 2.51. cfi_encoding
- 2.52. closure_lifetime_binder
- 2.53. closure_track_caller
- 2.54. cmse_nonsecure_entry
- 2.55. compiler_builtins
- 2.56. const_async_blocks
- 2.57. const_closures
- 2.58. const_destruct
- 2.59. const_for
- 2.60. const_precise_live_drops
- 2.61. const_trait_impl
- 2.62. const_try
- 2.63. contracts
- 2.64. contracts_internals
- 2.65. coroutine_clone
- 2.66. coroutines
- 2.67. coverage_attribute
- 2.68. csky_target_feature
- 2.69. custom_inner_attributes
- 2.70. custom_mir
- 2.71. custom_test_frameworks
- 2.72. decl_macro
- 2.73. default_field_values
- 2.74. deprecated_safe
- 2.75. deprecated_suggestion
- 2.76. deref_patterns
- 2.77. doc_auto_cfg
- 2.78. doc_cfg
- 2.79. doc_cfg_hide
- 2.80. doc_masked
- 2.81. doc_notable_trait
- 2.82. dropck_eyepatch
- 2.83. dyn_compatible_for_dispatch
- 2.84. dyn_star
- 2.85. ermsb_target_feature
- 2.86. exhaustive_patterns
- 2.87. explicit_tail_calls
- 2.88. extended_varargs_abi_support
- 2.89. extern_system_varargs
- 2.90. extern_types
- 2.91. f128
- 2.92. f16
- 2.93. ffi_const
- 2.94. ffi_pure
- 2.95. fmt_debug
- 2.96. fn_align
- 2.97. fn_delegation
- 2.98. freeze_impls
- 2.99. fundamental
- 2.100. gen_blocks
- 2.101. generic_arg_infer
- 2.102. generic_assert
- 2.103. generic_const_exprs
- 2.104. generic_const_items
- 2.105. generic_pattern_types
- 2.106. global_registration
- 2.107. guard_patterns
- 2.108. half_open_range_patterns_in_slices
- 2.109. hexagon_target_feature
- 2.110. if_let_guard
- 2.111. impl_trait_in_assoc_type
- 2.112. impl_trait_in_bindings
- 2.113. impl_trait_in_fn_trait_return
- 2.114. import_trait_associated_functions
- 2.115. inherent_associated_types
- 2.116. inline_const_pat
- 2.117. intra_doc_pointers
- 2.118. intrinsics
- 2.119. keylocker_x86
- 2.120. lahfsahf_target_feature
- 2.121. lang_items
- 2.122. large_assignments
- 2.123. lazy_type_alias
- 2.124. let_chains
- 2.125. lifetime_capture_rules_2024
- 2.126. link_arg_attribute
- 2.127. link_cfg
- 2.128. link_llvm_intrinsics
- 2.129. linkage
- 2.130. loongarch_target_feature
- 2.131. m68k_target_feature
- 2.132. macro_metavar_expr
- 2.133. macro_metavar_expr_concat
- 2.134. marker_trait_attr
- 2.135. min_generic_const_args
- 2.136. min_specialization
- 2.137. mips_target_feature
- 2.138. more_maybe_bounds
- 2.139. more_qualified_paths
- 2.140. multiple_supertrait_upcastable
- 2.141. must_not_suspend
- 2.142. mut_ref
- 2.143. naked_functions
- 2.144. native_link_modifiers_as_needed
- 2.145. needs_panic_runtime
- 2.146. negative_bounds
- 2.147. negative_impls
- 2.148. never_patterns
- 2.149. never_type
- 2.150. never_type_fallback
- 2.151. new_range
- 2.152. no_core
- 2.153. no_sanitize
- 2.154. non_exhaustive_omitted_patterns_lint
- 2.155. non_lifetime_binders
- 2.156. offset_of_enum
- 2.157. offset_of_slice
- 2.158. omit_gdb_pretty_printer_section
- 2.159. optimize_attribute
- 2.160. panic_runtime
- 2.161. patchable_function_entry
- 2.162. pattern_complexity
- 2.163. pattern_types
- 2.164. pin_ergonomics
- 2.165. postfix_match
- 2.166. powerpc_target_feature
- 2.167. precise_capturing_in_traits
- 2.168. prelude_import
- 2.169. prfchw_target_feature
- 2.170. proc_macro_hygiene
- 2.171. profiler_runtime
- 2.172. ref_pat_eat_one_layer_2024
- 2.173. ref_pat_eat_one_layer_2024_structural
- 2.174. register_tool
- 2.175. repr_simd
- 2.176. repr128
- 2.177. return_type_notation
- 2.178. riscv_target_feature
- 2.179. rtm_target_feature
- 2.180. rust_cold_cc
- 2.181. rustc_allow_const_fn_unstable
- 2.182. rustc_attrs
- 2.183. rustc_private
- 2.184. rustdoc_internals
- 2.185. rustdoc_missing_doc_code_examples
- 2.186. s390x_target_feature
- 2.187. sha512_sm_x86
- 2.188. simd_ffi
- 2.189. sparc_target_feature
- 2.190. specialization
- 2.191. sse4a_target_feature
- 2.192. staged_api
- 2.193. stmt_expr_attributes
- 2.194. strict_provenance_lints
- 2.195. string_deref_patterns
- 2.196. structural_match
- 2.197. supertrait_item_shadowing
- 2.198. tbm_target_feature
- 2.199. test_unstable_lint
- 2.200. thread_local
- 2.201. trait_alias
- 2.202. transmute_generic_consts
- 2.203. transparent_unions
- 2.204. trivial_bounds
- 2.205. try_blocks
- 2.206. type_alias_impl_trait
- 2.207. type_changing_struct_update
- 2.208. unboxed_closures
- 2.209. unqualified_local_imports
- 2.210. unsafe_binders
- 2.211. unsafe_fields
- 2.212. unsized_const_params
- 2.213. unsized_fn_params
- 2.214. unsized_locals
- 2.215. unsized_tuple_coercion
- 2.216. used_with_arg
- 2.217. wasm_target_feature
- 2.218. with_negative_coherence
- 2.219. x86_amx_intrinsics
- 2.220. x87_target_feature
- 2.221. xop_target_feature
- 2.222. yeet_expr
- 3. Library Features
- 3.1. abort_unwind
- 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. anonymous_pipe
- 3.9. array_chunks
- 3.10. array_into_iter_constructors
- 3.11. array_ptr_get
- 3.12. array_repeat
- 3.13. array_try_from_fn
- 3.14. array_try_map
- 3.15. array_windows
- 3.16. as_array_of_cells
- 3.17. ascii_char
- 3.18. ascii_char_variants
- 3.19. assert_matches
- 3.20. async_drop
- 3.21. async_fn_traits
- 3.22. async_gen_internals
- 3.23. async_iter_from_iter
- 3.24. async_iterator
- 3.25. atomic_from_mut
- 3.26. atomic_try_update
- 3.27. autodiff
- 3.28. backtrace_frames
- 3.29. bigint_helper_methods
- 3.30. bikeshed_guaranteed_no_drop
- 3.31. binary_heap_drain_sorted
- 3.32. binary_heap_into_iter_sorted
- 3.33. bound_as_ref
- 3.34. box_as_ptr
- 3.35. box_into_boxed_slice
- 3.36. box_into_inner
- 3.37. box_uninit_write
- 3.38. box_vec_non_null
- 3.39. breakpoint
- 3.40. bstr
- 3.41. bstr_internals
- 3.42. btree_cursors
- 3.43. btree_entry_insert
- 3.44. btree_extract_if
- 3.45. btree_set_entry
- 3.46. btreemap_alloc
- 3.47. buf_read_has_data_left
- 3.48. bufreader_peek
- 3.49. c_size_t
- 3.50. c_str_module
- 3.51. c_void_variant
- 3.52. can_vector
- 3.53. cell_leak
- 3.54. cell_update
- 3.55. cfg_accessible
- 3.56. cfg_eval
- 3.57. cfg_match
- 3.58. char_internals
- 3.59. clone_to_uninit
- 3.60. cmp_minmax
- 3.61. coerce_pointee_validated
- 3.62. coerce_unsized
- 3.63. cold_path
- 3.64. concat_bytes
- 3.65. concat_idents
- 3.66. const_alloc_error
- 3.67. const_array_as_mut_slice
- 3.68. const_array_each_ref
- 3.69. const_box
- 3.70. const_btree_len
- 3.71. const_carrying_mul_add
- 3.72. const_cell
- 3.73. const_char_classify
- 3.74. const_copy_from_slice
- 3.75. const_deref
- 3.76. const_eq_ignore_ascii_case
- 3.77. const_eval_select
- 3.78. const_format_args
- 3.79. const_heap
- 3.80. const_ops
- 3.81. const_ptr_sub_ptr
- 3.82. const_range_bounds
- 3.83. const_raw_ptr_comparison
- 3.84. const_slice_flatten
- 3.85. const_slice_from_mut_ptr_range
- 3.86. const_slice_from_ptr_range
- 3.87. const_slice_reverse
- 3.88. const_sockaddr_setters
- 3.89. const_str_from_utf8
- 3.90. const_swap_nonoverlapping
- 3.91. const_type_id
- 3.92. const_type_name
- 3.93. const_vec_string_slice
- 3.94. container_error_extra
- 3.95. context_ext
- 3.96. convert_float_to_int
- 3.97. core_intrinsics
- 3.98. core_intrinsics_fallbacks
- 3.99. core_io_borrowed_buf
- 3.100. core_private_bignum
- 3.101. core_private_diy_float
- 3.102. coroutine_trait
- 3.103. cow_is_borrowed
- 3.104. cstr_bytes
- 3.105. cstr_internals
- 3.106. cursor_split
- 3.107. deadline_api
- 3.108. debug_closure_helpers
- 3.109. dec2flt
- 3.110. deref_pure_trait
- 3.111. derive_clone_copy
- 3.112. derive_coerce_pointee
- 3.113. derive_const
- 3.114. derive_eq
- 3.115. dir_entry_ext2
- 3.116. discriminant_kind
- 3.117. disjoint_bitor
- 3.118. dispatch_from_dyn
- 3.119. downcast_unchecked
- 3.120. drain_keep_rest
- 3.121. duration_constants
- 3.122. duration_constructors
- 3.123. duration_millis_float
- 3.124. duration_units
- 3.125. edition_panic
- 3.126. error_generic_member_access
- 3.127. error_iter
- 3.128. error_reporter
- 3.129. error_type_id
- 3.130. exact_size_is_empty
- 3.131. exclusive_wrapper
- 3.132. exit_status_error
- 3.133. exitcode_exit_method
- 3.134. extend_one
- 3.135. extend_one_unchecked
- 3.136. extract_if
- 3.137. fd
- 3.138. fd_read
- 3.139. file_buffered
- 3.140. file_lock
- 3.141. float_erf
- 3.142. float_gamma
- 3.143. float_minimum_maximum
- 3.144. flt2dec
- 3.145. fmt_helpers_for_derive
- 3.146. fmt_internals
- 3.147. fn_ptr_trait
- 3.148. fn_traits
- 3.149. forget_unsized
- 3.150. format_args_nl
- 3.151. formatting_options
- 3.152. freeze
- 3.153. future_join
- 3.154. gen_future
- 3.155. generic_assert_internals
- 3.156. get_disjoint_mut_helpers
- 3.157. get_mut_unchecked
- 3.158. hash_extract_if
- 3.159. hash_raw_entry
- 3.160. hash_set_entry
- 3.161. hasher_prefixfree_extras
- 3.162. hashmap_internals
- 3.163. hint_must_use
- 3.164. inherent_str_constructors
- 3.165. inplace_iteration
- 3.166. int_from_ascii
- 3.167. int_roundings
- 3.168. integer_atomics
- 3.169. integer_sign_cast
- 3.170. internal_impls_macro
- 3.171. internal_output_capture
- 3.172. io_const_error
- 3.173. io_const_error_internals
- 3.174. io_error_inprogress
- 3.175. io_error_more
- 3.176. io_error_uncategorized
- 3.177. io_slice_as_bytes
- 3.178. ip
- 3.179. ip_from
- 3.180. is_ascii_octdigit
- 3.181. is_loongarch_feature_detected
- 3.182. is_riscv_feature_detected
- 3.183. iter_advance_by
- 3.184. iter_array_chunks
- 3.185. iter_chain
- 3.186. iter_collect_into
- 3.187. iter_from_coroutine
- 3.188. iter_intersperse
- 3.189. iter_is_partitioned
- 3.190. iter_map_windows
- 3.191. iter_next_chunk
- 3.192. iter_order_by
- 3.193. iter_partition_in_place
- 3.194. iterator_try_collect
- 3.195. iterator_try_reduce
- 3.196. junction_point
- 3.197. layout_for_ptr
- 3.198. lazy_cell_into_inner
- 3.199. lazy_get
- 3.200. legacy_receiver_trait
- 3.201. liballoc_internals
- 3.202. libstd_sys_internals
- 3.203. likely_unlikely
- 3.204. linked_list_cursors
- 3.205. linked_list_remove
- 3.206. linked_list_retain
- 3.207. linux_pidfd
- 3.208. local_waker
- 3.209. lock_value_accessors
- 3.210. log_syntax
- 3.211. map_try_insert
- 3.212. mapped_lock_guards
- 3.213. maybe_uninit_array_assume_init
- 3.214. maybe_uninit_as_bytes
- 3.215. maybe_uninit_fill
- 3.216. maybe_uninit_slice
- 3.217. maybe_uninit_uninit_array
- 3.218. maybe_uninit_uninit_array_transpose
- 3.219. maybe_uninit_write_slice
- 3.220. mem_copy_fn
- 3.221. mixed_integer_ops_unsigned_sub
- 3.222. more_float_constants
- 3.223. mpmc_channel
- 3.224. new_range_api
- 3.225. new_zeroed_alloc
- 3.226. non_null_from_ref
- 3.227. nonnull_provenance
- 3.228. nonzero_bitwise
- 3.229. nonzero_from_mut
- 3.230. nonzero_internals
- 3.231. nonzero_ops
- 3.232. num_midpoint_signed
- 3.233. numfmt
- 3.234. once_cell_get_mut
- 3.235. once_cell_try
- 3.236. once_cell_try_insert
- 3.237. one_sided_range
- 3.238. option_array_transpose
- 3.239. option_zip
- 3.240. os_str_display
- 3.241. os_str_slice
- 3.242. os_string_pathbuf_leak
- 3.243. os_string_truncate
- 3.244. panic_abort
- 3.245. panic_always_abort
- 3.246. panic_backtrace_config
- 3.247. panic_can_unwind
- 3.248. panic_internals
- 3.249. panic_payload_as_str
- 3.250. panic_unwind
- 3.251. panic_update_hook
- 3.252. path_add_extension
- 3.253. path_file_prefix
- 3.254. pattern
- 3.255. pattern_type_macro
- 3.256. peer_credentials_unix_socket
- 3.257. phantom_variance_markers
- 3.258. pin_coerce_unsized_trait
- 3.259. pointer_is_aligned_to
- 3.260. pointer_like_trait
- 3.261. portable_simd
- 3.262. print_internals
- 3.263. proc_macro_def_site
- 3.264. proc_macro_diagnostic
- 3.265. proc_macro_expand
- 3.266. proc_macro_internals
- 3.267. proc_macro_quote
- 3.268. proc_macro_span
- 3.269. proc_macro_totokens
- 3.270. proc_macro_tracked_env
- 3.271. process_exitcode_internals
- 3.272. process_internals
- 3.273. profiler_runtime_lib
- 3.274. ptr_alignment_type
- 3.275. ptr_as_ref_unchecked
- 3.276. ptr_as_uninit
- 3.277. ptr_internals
- 3.278. ptr_mask
- 3.279. ptr_metadata
- 3.280. ptr_sub_ptr
- 3.281. pub_crate_should_not_need_unstable_attr
- 3.282. random
- 3.283. range_into_bounds
- 3.284. raw_os_error_ty
- 3.285. raw_slice_split
- 3.286. raw_vec_internals
- 3.287. read_buf
- 3.288. reentrant_lock
- 3.289. restricted_std
- 3.290. result_flattening
- 3.291. round_char_boundary
- 3.292. rt
- 3.293. rwlock_downgrade
- 3.294. sealed
- 3.295. seek_stream_len
- 3.296. select_unpredictable
- 3.297. set_ptr_value
- 3.298. setgroups
- 3.299. sgx_platform
- 3.300. sized_type_properties
- 3.301. slice_as_array
- 3.302. slice_as_chunks
- 3.303. slice_concat_ext
- 3.304. slice_concat_trait
- 3.305. slice_from_ptr_range
- 3.306. slice_index_methods
- 3.307. slice_internals
- 3.308. slice_iter_mut_as_mut_slice
- 3.309. slice_partition_dedup
- 3.310. slice_pattern
- 3.311. slice_ptr_get
- 3.312. slice_range
- 3.313. slice_split_once
- 3.314. slice_swap_unchecked
- 3.315. slice_take
- 3.316. solid_ext
- 3.317. sort_floats
- 3.318. split_array
- 3.319. split_as_slice
- 3.320. std_internals
- 3.321. stdarch_arm_feature_detection
- 3.322. stdarch_mips_feature_detection
- 3.323. stdarch_powerpc_feature_detection
- 3.324. stdio_makes_pipe
- 3.325. step_trait
- 3.326. str_as_str
- 3.327. str_from_raw_parts
- 3.328. str_from_utf16_endian
- 3.329. str_internals
- 3.330. str_lines_remainder
- 3.331. str_split_inclusive_remainder
- 3.332. str_split_remainder
- 3.333. str_split_whitespace_remainder
- 3.334. strict_overflow_ops
- 3.335. strict_provenance_atomic_ptr
- 3.336. string_extend_from_within
- 3.337. string_from_utf8_lossy_owned
- 3.338. string_into_chars
- 3.339. string_remove_matches
- 3.340. substr_range
- 3.341. sync_poison_mod
- 3.342. sync_unsafe_cell
- 3.343. tcp_deferaccept
- 3.344. tcp_linger
- 3.345. tcp_quickack
- 3.346. tcplistener_into_incoming
- 3.347. temporary_niche_types
- 3.348. test
- 3.349. thin_box
- 3.350. thread_id_value
- 3.351. thread_local_internals
- 3.352. thread_raw
- 3.353. thread_sleep_until
- 3.354. thread_spawn_hook
- 3.355. trace_macros
- 3.356. track_path
- 3.357. transmutability
- 3.358. trusted_fused
- 3.359. trusted_len
- 3.360. trusted_len_next_unchecked
- 3.361. trusted_random_access
- 3.362. trusted_step
- 3.363. try_find
- 3.364. try_reserve_kind
- 3.365. try_trait_v2
- 3.366. try_trait_v2_residual
- 3.367. try_trait_v2_yeet
- 3.368. try_with_capacity
- 3.369. tuple_trait
- 3.370. type_ascription
- 3.371. ub_checks
- 3.372. uefi_std
- 3.373. unbounded_shifts
- 3.374. unchecked_neg
- 3.375. unchecked_shifts
- 3.376. unicode_internals
- 3.377. unique_rc_arc
- 3.378. unix_file_vectored_at
- 3.379. unix_set_mark
- 3.380. unix_socket_ancillary_data
- 3.381. unix_socket_peek
- 3.382. unsafe_cell_access
- 3.383. unsafe_pin_internals
- 3.384. unsigned_is_multiple_of
- 3.385. unsigned_nonzero_div_ceil
- 3.386. unsigned_signed_diff
- 3.387. unsize
- 3.388. unwrap_infallible
- 3.389. update_panic_count
- 3.390. utf16_extra
- 3.391. variant_count
- 3.392. vec_deque_iter_as_slices
- 3.393. vec_deque_pop_if
- 3.394. vec_into_raw_parts
- 3.395. vec_push_within_capacity
- 3.396. vec_split_at_spare
- 3.397. wasi_ext
- 3.398. windows_by_handle
- 3.399. windows_c
- 3.400. windows_change_time
- 3.401. windows_handle
- 3.402. windows_net
- 3.403. windows_process_exit_code_from
- 3.404. windows_process_extensions_async_pipes
- 3.405. windows_process_extensions_force_quotes
- 3.406. windows_process_extensions_main_thread_handle
- 3.407. windows_process_extensions_raw_attribute
- 3.408. windows_process_extensions_show_window
- 3.409. windows_stdio
- 3.410. wrapping_int_impl
- 3.411. wrapping_next_power_of_two
- 3.412. write_all_vectored
- 3.413. yeet_desugar_details