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