1. The Unstable Book
  2. Compiler environment variables
    1. RUSTC_BOOTSTRAP
    2. RUSTC_OVERRIDE_VERSION_STRING
  3. Compiler flags
    1. allow_features
    2. autodiff
    3. branch_protection
    4. cf_protection
    5. codegen_backend
    6. codegen_options
    7. control_flow_guard
    8. coverage_options
    9. crate_attr
    10. debug_info_for_profiling
    11. debug_info_type_line_numbers
    12. default_visibility
    13. direct_access_external_data
    14. dump_mono_stats
    15. dump_mono_stats_format
    16. dylib_lto
    17. eagerly_emit_delayed_bugs
    18. embed_metadata
    19. embed_source
    20. emit_stack_sizes
    21. emscripten_wasm_eh
    22. env_set
    23. export_executable_symbols
    24. extern_options
    25. external_clangrt
    26. fixed_x18
    27. fmt_debug
    28. function_return
    29. hint_mostly_unused
    30. instrument_xray
    31. link_native_libraries
    32. lint_llvm_ir
    33. llvm_module_flag
    34. location_detail
    35. macro_stats
    36. min_function_alignment
    37. move_size_limit
    38. no_jump_tables
    39. no_parallel_llvm
    40. no_steal_thir
    41. no_unique_section_names
    42. offload
    43. on_broken_pipe
    44. patchable_function_entry
    45. print_check_cfg
    46. print_crate_root_lint_levels
    47. print_supported_crate_types
    48. profile_sample_use
    49. randomize_layout
    50. reg_struct_return
    51. regparm
    52. remap_cwd_prefix
    53. remap_path_scope
    54. report_time
    55. sanitizer
    56. self_profile
    57. self_profile_events
    58. shell_argfiles
    59. small_data_threshold
    60. src_hash_algorithm
    61. temps_dir
    62. tiny_const_eval_limit
    63. tls_model
    64. track_diagnostics
    65. treat_err_as_bug
    66. ub_checks
    67. unsound_mir_opts
    68. verbose_asm
    69. virtual_function_elimination
    70. wasm_c_abi
  4. Language features
    1. aarch64_unstable_target_feature
    2. aarch64_ver_target_feature
    3. abi_avr_interrupt
    4. abi_cmse_nonsecure_call
    5. abi_custom
    6. abi_gpu_kernel
    7. abi_msp430_interrupt
    8. abi_ptx
    9. abi_riscv_interrupt
    10. abi_unadjusted
    11. abi_vectorcall
    12. abi_x86_interrupt
    13. adt_const_params
    14. alloc_error_handler
    15. allocator_internals
    16. allow_internal_unsafe
    17. allow_internal_unstable
    18. anonymous_lifetime_in_impl_trait
    19. apx_target_feature
    20. arbitrary_self_types
    21. arbitrary_self_types_pointers
    22. arm_target_feature
    23. asm_cfg
    24. asm_experimental_arch
    25. asm_experimental_reg
    26. asm_goto_with_outputs
    27. asm_unwind
    28. associated_const_equality
    29. associated_type_defaults
    30. async_drop
    31. async_fn_in_dyn_trait
    32. async_fn_track_caller
    33. async_for_loop
    34. async_trait_bounds
    35. auto_traits
    36. avx10_target_feature
    37. box_patterns
    38. bpf_target_feature
    39. builtin_syntax
    40. c_variadic
    41. cfg_contract_checks
    42. cfg_emscripten_wasm_eh
    43. cfg_overflow_checks
    44. cfg_relocation_model
    45. cfg_sanitize
    46. cfg_sanitizer_cfi
    47. cfg_target_compact
    48. cfg_target_has_atomic
    49. cfg_target_has_atomic_equal_alignment
    50. cfg_target_has_reliable_f16_f128
    51. cfg_target_thread_local
    52. cfg_ub_checks
    53. cfg_version
    54. cfi_encoding
    55. closure_lifetime_binder
    56. closure_track_caller
    57. cmse_nonsecure_entry
    58. compiler_builtins
    59. const_async_blocks
    60. const_closures
    61. const_destruct
    62. const_for
    63. const_precise_live_drops
    64. const_trait_impl
    65. const_try
    66. contracts
    67. contracts_internals
    68. coroutine_clone
    69. coroutines
    70. coverage_attribute
    71. csky_target_feature
    72. custom_inner_attributes
    73. custom_mir
    74. custom_test_frameworks
    75. decl_macro
    76. default_field_values
    77. deprecated_safe
    78. deprecated_suggestion
    79. deref_patterns
    80. doc_auto_cfg
    81. doc_cfg
    82. doc_cfg_hide
    83. doc_masked
    84. doc_notable_trait
    85. dropck_eyepatch
    86. ergonomic_clones
    87. ermsb_target_feature
    88. exhaustive_patterns
    89. explicit_extern_abis
    90. explicit_tail_calls
    91. export_stable
    92. extended_varargs_abi_support
    93. extern_system_varargs
    94. extern_types
    95. f128
    96. f16
    97. ffi_const
    98. ffi_pure
    99. fmt_debug
    100. fn_align
    101. fn_delegation
    102. freeze_impls
    103. frontmatter
    104. fundamental
    105. gen_blocks
    106. generic_assert
    107. generic_const_exprs
    108. generic_const_items
    109. generic_const_parameter_types
    110. generic_pattern_types
    111. global_registration
    112. guard_patterns
    113. half_open_range_patterns_in_slices
    114. hexagon_target_feature
    115. if_let_guard
    116. impl_trait_in_assoc_type
    117. impl_trait_in_bindings
    118. impl_trait_in_fn_trait_return
    119. import_trait_associated_functions
    120. inherent_associated_types
    121. intra_doc_pointers
    122. intrinsics
    123. lahfsahf_target_feature
    124. lang_items
    125. large_assignments
    126. lazy_type_alias
    127. link_arg_attribute
    128. link_cfg
    129. link_llvm_intrinsics
    130. linkage
    131. loongarch_target_feature
    132. loop_match
    133. m68k_target_feature
    134. macro_metavar_expr
    135. macro_metavar_expr_concat
    136. marker_trait_attr
    137. min_generic_const_args
    138. min_specialization
    139. mips_target_feature
    140. more_maybe_bounds
    141. more_qualified_paths
    142. movrs_target_feature
    143. multiple_supertrait_upcastable
    144. must_not_suspend
    145. mut_ref
    146. naked_functions_rustic_abi
    147. naked_functions_target_feature
    148. native_link_modifiers_as_needed
    149. needs_panic_runtime
    150. negative_bounds
    151. negative_impls
    152. never_patterns
    153. never_type
    154. never_type_fallback
    155. new_range
    156. no_core
    157. no_sanitize
    158. non_exhaustive_omitted_patterns_lint
    159. non_lifetime_binders
    160. offset_of_enum
    161. offset_of_slice
    162. omit_gdb_pretty_printer_section
    163. optimize_attribute
    164. panic_runtime
    165. patchable_function_entry
    166. pattern_complexity_limit
    167. pattern_types
    168. pin_ergonomics
    169. postfix_match
    170. powerpc_target_feature
    171. prelude_import
    172. prfchw_target_feature
    173. proc_macro_hygiene
    174. profiler_runtime
    175. raw_dylib_elf
    176. ref_pat_eat_one_layer_2024
    177. ref_pat_eat_one_layer_2024_structural
    178. register_tool
    179. repr_simd
    180. return_type_notation
    181. riscv_target_feature
    182. rtm_target_feature
    183. rust_cold_cc
    184. rustc_allow_const_fn_unstable
    185. rustc_attrs
    186. rustc_private
    187. rustdoc_internals
    188. rustdoc_missing_doc_code_examples
    189. s390x_target_feature
    190. simd_ffi
    191. sized_hierarchy
    192. sparc_target_feature
    193. specialization
    194. sse4a_target_feature
    195. staged_api
    196. stmt_expr_attributes
    197. strict_provenance_lints
    198. string_deref_patterns
    199. structural_match
    200. super_let
    201. supertrait_item_shadowing
    202. tbm_target_feature
    203. test_unstable_lint
    204. thread_local
    205. trait_alias
    206. transmute_generic_consts
    207. transparent_unions
    208. trivial_bounds
    209. try_blocks
    210. type_alias_impl_trait
    211. type_changing_struct_update
    212. unboxed_closures
    213. unqualified_local_imports
    214. unsafe_binders
    215. unsafe_fields
    216. unsized_const_params
    217. unsized_fn_params
    218. used_with_arg
    219. wasm_target_feature
    220. where_clause_attrs
    221. with_negative_coherence
    222. x86_amx_intrinsics
    223. x87_target_feature
    224. xop_target_feature
    225. yeet_expr
    226. yield_expr
  5. Library Features
    1. abort_unwind
    2. acceptfilter
    3. addr_parse_ascii
    4. align_to_uninit_mut
    5. alloc_error_hook
    6. alloc_internals
    7. alloc_layout_extra
    8. allocator_api
    9. alloctests
    10. arc_is_unique
    11. array_chunks
    12. array_into_iter_constructors
    13. array_ptr_get
    14. array_repeat
    15. array_try_from_fn
    16. array_try_map
    17. array_windows
    18. as_array_of_cells
    19. ascii_char
    20. ascii_char_variants
    21. assert_matches
    22. async_fn_traits
    23. async_gen_internals
    24. async_iter_from_iter
    25. async_iterator
    26. atomic_from_mut
    27. atomic_internals
    28. atomic_try_update
    29. autodiff
    30. backtrace_frames
    31. bigint_helper_methods
    32. bikeshed_guaranteed_no_drop
    33. binary_heap_drain_sorted
    34. binary_heap_into_iter_sorted
    35. binary_heap_peek_mut_refresh
    36. bool_to_result
    37. bound_as_ref
    38. box_as_ptr
    39. box_into_boxed_slice
    40. box_into_inner
    41. box_vec_non_null
    42. breakpoint
    43. bstr
    44. bstr_internals
    45. btree_cursors
    46. btree_entry_insert
    47. btree_extract_if
    48. btree_set_entry
    49. btreemap_alloc
    50. buf_read_has_data_left
    51. bufreader_peek
    52. c_size_t
    53. c_void_variant
    54. can_vector
    55. cell_leak
    56. cfg_accessible
    57. cfg_eval
    58. cfg_select
    59. char_internals
    60. char_max_len
    61. clone_to_uninit
    62. cmp_minmax
    63. coerce_pointee_validated
    64. coerce_unsized
    65. cold_path
    66. concat_bytes
    67. const_alloc_error
    68. const_array_each_ref
    69. const_btree_len
    70. const_carrying_mul_add
    71. const_clone
    72. const_cmp
    73. const_default
    74. const_deref
    75. const_eval_select
    76. const_format_args
    77. const_from
    78. const_heap
    79. const_index
    80. const_ops
    81. const_option_ops
    82. const_pathbuf_osstring_new
    83. const_range_bounds
    84. const_raw_ptr_comparison
    85. const_ref_cell
    86. const_slice_from_mut_ptr_range
    87. const_slice_from_ptr_range
    88. const_slice_make_iter
    89. const_slice_rotate
    90. const_split_off_first_last
    91. const_type_id
    92. const_type_name
    93. container_error_extra
    94. context_ext
    95. control_flow_into_value
    96. convert_float_to_int
    97. core_float_math
    98. core_intrinsics
    99. core_intrinsics_fallbacks
    100. core_io_borrowed_buf
    101. core_private_bignum
    102. core_private_diy_float
    103. coroutine_trait
    104. cow_is_borrowed
    105. cstr_bytes
    106. cstr_display
    107. cstr_internals
    108. cursor_split
    109. deadline_api
    110. debug_closure_helpers
    111. dec2flt
    112. deref_pure_trait
    113. derive_clone_copy
    114. derive_coerce_pointee
    115. derive_const
    116. derive_eq
    117. dir_entry_ext2
    118. discriminant_kind
    119. disjoint_bitor
    120. dispatch_from_dyn
    121. downcast_unchecked
    122. drain_keep_rest
    123. duration_constants
    124. duration_constructors
    125. duration_constructors_lite
    126. duration_millis_float
    127. duration_units
    128. edition_panic
    129. error_generic_member_access
    130. error_iter
    131. error_reporter
    132. error_type_id
    133. exact_div
    134. exact_size_is_empty
    135. exclusive_wrapper
    136. exit_status_error
    137. exitcode_exit_method
    138. extend_one
    139. extend_one_unchecked
    140. fd
    141. fd_read
    142. file_buffered
    143. file_with_nul
    144. float_algebraic
    145. float_erf
    146. float_gamma
    147. float_minimum_maximum
    148. flt2dec
    149. fmt_helpers_for_derive
    150. fmt_internals
    151. fn_ptr_trait
    152. fn_traits
    153. forget_unsized
    154. format_args_nl
    155. formatting_options
    156. freeze
    157. future_join
    158. gen_future
    159. generic_assert_internals
    160. generic_atomic
    161. get_disjoint_mut_helpers
    162. get_mut_unchecked
    163. hash_set_entry
    164. hasher_prefixfree_extras
    165. hashmap_internals
    166. hint_must_use
    167. inplace_iteration
    168. int_format_into
    169. int_from_ascii
    170. int_roundings
    171. integer_atomics
    172. internal_impls_macro
    173. internal_output_capture
    174. io_const_error
    175. io_const_error_internals
    176. io_error_inprogress
    177. io_error_more
    178. io_error_uncategorized
    179. io_slice_as_bytes
    180. ip
    181. ip_as_octets
    182. ip_from
    183. is_ascii_octdigit
    184. is_loongarch_feature_detected
    185. is_riscv_feature_detected
    186. isolate_most_least_significant_one
    187. iter_advance_by
    188. iter_array_chunks
    189. iter_chain
    190. iter_collect_into
    191. iter_from_coroutine
    192. iter_intersperse
    193. iter_is_partitioned
    194. iter_macro
    195. iter_map_windows
    196. iter_next_chunk
    197. iter_order_by
    198. iter_partition_in_place
    199. iterator_try_collect
    200. iterator_try_reduce
    201. junction_point
    202. layout_for_ptr
    203. lazy_cell_into_inner
    204. lazy_get
    205. legacy_receiver_trait
    206. liballoc_internals
    207. libstd_sys_internals
    208. likely_unlikely
    209. linked_list_cursors
    210. linked_list_remove
    211. linked_list_retain
    212. linux_pidfd
    213. local_key_cell_update
    214. local_waker
    215. lock_value_accessors
    216. log_syntax
    217. map_try_insert
    218. mapped_lock_guards
    219. maybe_uninit_array_assume_init
    220. maybe_uninit_as_bytes
    221. maybe_uninit_fill
    222. maybe_uninit_slice
    223. maybe_uninit_uninit_array_transpose
    224. maybe_uninit_write_slice
    225. mem_copy_fn
    226. more_float_constants
    227. mpmc_channel
    228. mutex_data_ptr
    229. new_range_api
    230. new_zeroed_alloc
    231. next_index
    232. nonzero_bitwise
    233. nonzero_from_mut
    234. nonzero_internals
    235. nonzero_ops
    236. normalize_lexically
    237. numfmt
    238. once_cell_get_mut
    239. once_cell_try
    240. once_cell_try_insert
    241. one_sided_range
    242. option_array_transpose
    243. option_zip
    244. os_str_slice
    245. os_string_truncate
    246. panic_abort
    247. panic_always_abort
    248. panic_backtrace_config
    249. panic_can_unwind
    250. panic_internals
    251. panic_payload_as_str
    252. panic_unwind
    253. panic_update_hook
    254. partial_ord_chaining_methods
    255. path_add_extension
    256. path_file_prefix
    257. pattern
    258. pattern_type_macro
    259. pattern_type_range_trait
    260. peer_credentials_unix_socket
    261. phantom_variance_markers
    262. pin_coerce_unsized_trait
    263. pointer_is_aligned_to
    264. pointer_try_cast_aligned
    265. portable_simd
    266. prelude_future
    267. prelude_next
    268. print_internals
    269. proc_macro_def_site
    270. proc_macro_diagnostic
    271. proc_macro_expand
    272. proc_macro_internals
    273. proc_macro_quote
    274. proc_macro_span
    275. proc_macro_totokens
    276. proc_macro_tracked_env
    277. proc_macro_value
    278. process_chroot
    279. process_exitcode_internals
    280. process_internals
    281. process_setsid
    282. profiler_runtime_lib
    283. ptr_alignment_type
    284. ptr_as_ref_unchecked
    285. ptr_as_uninit
    286. ptr_internals
    287. ptr_mask
    288. ptr_metadata
    289. pub_crate_should_not_need_unstable_attr
    290. random
    291. range_bounds_is_empty
    292. range_into_bounds
    293. raw_os_error_ty
    294. raw_slice_split
    295. raw_vec_internals
    296. read_buf
    297. reentrant_lock
    298. reentrant_lock_data_ptr
    299. restricted_std
    300. result_option_map_or_default
    301. rev_into_inner
    302. round_char_boundary
    303. rt
    304. rwlock_data_ptr
    305. rwlock_downgrade
    306. sealed
    307. seek_io_take_position
    308. seek_stream_len
    309. set_ptr_value
    310. setgroups
    311. sgx_platform
    312. sized_type_properties
    313. slice_as_array
    314. slice_concat_ext
    315. slice_concat_trait
    316. slice_from_ptr_range
    317. slice_index_methods
    318. slice_internals
    319. slice_iter_mut_as_mut_slice
    320. slice_partition_dedup
    321. slice_pattern
    322. slice_ptr_get
    323. slice_range
    324. slice_split_once
    325. slice_swap_unchecked
    326. solid_ext
    327. sort_floats
    328. split_array
    329. split_as_slice
    330. std_internals
    331. stdarch_aarch64_feature_detection
    332. stdarch_arm_feature_detection
    333. stdarch_internal
    334. stdarch_loongarch_feature_detection
    335. stdarch_mips_feature_detection
    336. stdarch_powerpc_feature_detection
    337. stdarch_riscv_feature_detection
    338. stdarch_s390x_feature_detection
    339. stdio_makes_pipe
    340. step_trait
    341. str_as_str
    342. str_from_raw_parts
    343. str_from_utf16_endian
    344. str_internals
    345. str_lines_remainder
    346. str_split_inclusive_remainder
    347. str_split_remainder
    348. str_split_whitespace_remainder
    349. strict_overflow_ops
    350. strict_provenance_atomic_ptr
    351. string_from_utf8_lossy_owned
    352. string_into_chars
    353. string_remove_matches
    354. substr_range
    355. sync_poison_mod
    356. sync_unsafe_cell
    357. tcp_deferaccept
    358. tcp_linger
    359. tcplistener_into_incoming
    360. temporary_niche_types
    361. test
    362. thin_box
    363. thread_id_value
    364. thread_local_internals
    365. thread_raw
    366. thread_sleep_until
    367. thread_spawn_hook
    368. trace_macros
    369. track_path
    370. transmutability
    371. trim_prefix_suffix
    372. trusted_fused
    373. trusted_len
    374. trusted_len_next_unchecked
    375. trusted_random_access
    376. trusted_step
    377. try_find
    378. try_reserve_kind
    379. try_trait_v2
    380. try_trait_v2_residual
    381. try_trait_v2_yeet
    382. try_with_capacity
    383. tuple_trait
    384. type_ascription
    385. ub_checks
    386. uefi_std
    387. uint_bit_width
    388. unchecked_neg
    389. unchecked_shifts
    390. unicode_internals
    391. unique_rc_arc
    392. unix_file_vectored_at
    393. unix_mkfifo
    394. unix_send_signal
    395. unix_set_mark
    396. unix_socket_ancillary_data
    397. unix_socket_exclbind
    398. unix_socket_peek
    399. unsafe_cell_access
    400. unsafe_pinned
    401. unsigned_nonzero_div_ceil
    402. unsigned_signed_diff
    403. unsize
    404. unwrap_infallible
    405. update_panic_count
    406. utf16_extra
    407. variant_count
    408. vec_deque_iter_as_slices
    409. vec_deque_pop_if
    410. vec_deque_truncate_front
    411. vec_into_chunks
    412. vec_into_raw_parts
    413. vec_peek_mut
    414. vec_push_within_capacity
    415. vec_split_at_spare
    416. wasi_ext
    417. windows_by_handle
    418. windows_c
    419. windows_change_time
    420. windows_handle
    421. windows_net
    422. windows_process_exit_code_from
    423. windows_process_extensions_async_pipes
    424. windows_process_extensions_force_quotes
    425. windows_process_extensions_main_thread_handle
    426. windows_process_extensions_raw_attribute
    427. windows_process_extensions_show_window
    428. windows_process_extensions_startupinfo
    429. windows_stdio
    430. wrapping_int_impl
    431. wrapping_next_power_of_two
    432. write_all_vectored
    433. yeet_desugar_details