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. linker_features
    33. lint_llvm_ir
    34. llvm_module_flag
    35. location_detail
    36. macro_stats
    37. min_function_alignment
    38. move_size_limit
    39. no_jump_tables
    40. no_parallel_llvm
    41. no_steal_thir
    42. no_unique_section_names
    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_c_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. dyn_star
    87. ergonomic_clones
    88. ermsb_target_feature
    89. exhaustive_patterns
    90. explicit_extern_abis
    91. explicit_tail_calls
    92. export_stable
    93. extended_varargs_abi_support
    94. extern_system_varargs
    95. extern_types
    96. f128
    97. f16
    98. ffi_const
    99. ffi_pure
    100. fmt_debug
    101. fn_align
    102. fn_delegation
    103. freeze_impls
    104. frontmatter
    105. fundamental
    106. gen_blocks
    107. generic_assert
    108. generic_const_exprs
    109. generic_const_items
    110. generic_const_parameter_types
    111. generic_pattern_types
    112. global_registration
    113. guard_patterns
    114. half_open_range_patterns_in_slices
    115. hexagon_target_feature
    116. if_let_guard
    117. impl_trait_in_assoc_type
    118. impl_trait_in_bindings
    119. impl_trait_in_fn_trait_return
    120. import_trait_associated_functions
    121. inherent_associated_types
    122. intra_doc_pointers
    123. intrinsics
    124. lahfsahf_target_feature
    125. lang_items
    126. large_assignments
    127. lazy_type_alias
    128. let_chains
    129. link_arg_attribute
    130. link_cfg
    131. link_llvm_intrinsics
    132. linkage
    133. loongarch_target_feature
    134. m68k_target_feature
    135. macro_metavar_expr
    136. macro_metavar_expr_concat
    137. marker_trait_attr
    138. min_generic_const_args
    139. min_specialization
    140. mips_target_feature
    141. more_maybe_bounds
    142. more_qualified_paths
    143. movrs_target_feature
    144. multiple_supertrait_upcastable
    145. must_not_suspend
    146. mut_ref
    147. naked_functions_rustic_abi
    148. naked_functions_target_feature
    149. native_link_modifiers_as_needed
    150. needs_panic_runtime
    151. negative_bounds
    152. negative_impls
    153. never_patterns
    154. never_type
    155. never_type_fallback
    156. new_range
    157. no_core
    158. no_sanitize
    159. non_exhaustive_omitted_patterns_lint
    160. non_lifetime_binders
    161. offset_of_enum
    162. offset_of_slice
    163. omit_gdb_pretty_printer_section
    164. optimize_attribute
    165. panic_runtime
    166. patchable_function_entry
    167. pattern_complexity_limit
    168. pattern_types
    169. pin_ergonomics
    170. postfix_match
    171. powerpc_target_feature
    172. prelude_import
    173. prfchw_target_feature
    174. proc_macro_hygiene
    175. profiler_runtime
    176. raw_dylib_elf
    177. ref_pat_eat_one_layer_2024
    178. ref_pat_eat_one_layer_2024_structural
    179. register_tool
    180. repr_simd
    181. return_type_notation
    182. riscv_target_feature
    183. rtm_target_feature
    184. rust_cold_cc
    185. rustc_allow_const_fn_unstable
    186. rustc_attrs
    187. rustc_private
    188. rustdoc_internals
    189. rustdoc_missing_doc_code_examples
    190. s390x_target_feature
    191. simd_ffi
    192. sized_hierarchy
    193. sparc_target_feature
    194. specialization
    195. sse4a_target_feature
    196. staged_api
    197. stmt_expr_attributes
    198. strict_provenance_lints
    199. string_deref_patterns
    200. structural_match
    201. super_let
    202. supertrait_item_shadowing
    203. tbm_target_feature
    204. test_unstable_lint
    205. thread_local
    206. trait_alias
    207. transmute_generic_consts
    208. transparent_unions
    209. trivial_bounds
    210. try_blocks
    211. type_alias_impl_trait
    212. type_changing_struct_update
    213. unboxed_closures
    214. unqualified_local_imports
    215. unsafe_binders
    216. unsafe_fields
    217. unsized_const_params
    218. unsized_fn_params
    219. used_with_arg
    220. wasm_target_feature
    221. where_clause_attrs
    222. with_negative_coherence
    223. x86_amx_intrinsics
    224. x87_target_feature
    225. xop_target_feature
    226. yeet_expr
    227. 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. bound_as_ref
    37. box_as_ptr
    38. box_into_boxed_slice
    39. box_into_inner
    40. box_vec_non_null
    41. breakpoint
    42. bstr
    43. bstr_internals
    44. btree_cursors
    45. btree_entry_insert
    46. btree_extract_if
    47. btree_set_entry
    48. btreemap_alloc
    49. buf_read_has_data_left
    50. bufreader_peek
    51. c_size_t
    52. c_void_variant
    53. can_vector
    54. cell_leak
    55. cfg_accessible
    56. cfg_eval
    57. cfg_select
    58. char_internals
    59. char_max_len
    60. clone_to_uninit
    61. cmp_minmax
    62. coerce_pointee_validated
    63. coerce_unsized
    64. cold_path
    65. concat_bytes
    66. concat_idents
    67. const_alloc_error
    68. const_array_each_ref
    69. const_btree_len
    70. const_carrying_mul_add
    71. const_clone
    72. const_deref
    73. const_eval_select
    74. const_float_round_methods
    75. const_format_args
    76. const_heap
    77. const_ops
    78. const_pathbuf_osstring_new
    79. const_range_bounds
    80. const_raw_ptr_comparison
    81. const_slice_from_mut_ptr_range
    82. const_slice_from_ptr_range
    83. const_slice_make_iter
    84. const_slice_reverse
    85. const_split_off_first_last
    86. const_type_id
    87. const_type_name
    88. container_error_extra
    89. context_ext
    90. control_flow_into_value
    91. convert_float_to_int
    92. core_float_math
    93. core_intrinsics
    94. core_intrinsics_fallbacks
    95. core_io_borrowed_buf
    96. core_private_bignum
    97. core_private_diy_float
    98. coroutine_trait
    99. cow_is_borrowed
    100. cstr_bytes
    101. cstr_display
    102. cstr_internals
    103. cursor_split
    104. deadline_api
    105. debug_closure_helpers
    106. dec2flt
    107. deref_pure_trait
    108. derive_clone_copy
    109. derive_coerce_pointee
    110. derive_const
    111. derive_eq
    112. dir_entry_ext2
    113. discriminant_kind
    114. disjoint_bitor
    115. dispatch_from_dyn
    116. downcast_unchecked
    117. drain_keep_rest
    118. duration_constants
    119. duration_constructors
    120. duration_constructors_lite
    121. duration_millis_float
    122. duration_units
    123. edition_panic
    124. error_generic_member_access
    125. error_iter
    126. error_reporter
    127. error_type_id
    128. exact_div
    129. exact_size_is_empty
    130. exclusive_wrapper
    131. exit_status_error
    132. exitcode_exit_method
    133. extend_one
    134. extend_one_unchecked
    135. fd
    136. fd_read
    137. file_buffered
    138. file_with_nul
    139. float_algebraic
    140. float_erf
    141. float_gamma
    142. float_minimum_maximum
    143. flt2dec
    144. fmt_helpers_for_derive
    145. fmt_internals
    146. fn_ptr_trait
    147. fn_traits
    148. forget_unsized
    149. format_args_nl
    150. formatting_options
    151. freeze
    152. future_join
    153. gen_future
    154. generic_assert_internals
    155. generic_atomic
    156. get_disjoint_mut_helpers
    157. get_mut_unchecked
    158. hash_set_entry
    159. hasher_prefixfree_extras
    160. hashmap_internals
    161. hint_must_use
    162. inplace_iteration
    163. int_from_ascii
    164. int_roundings
    165. integer_atomics
    166. internal_impls_macro
    167. internal_output_capture
    168. io_const_error
    169. io_const_error_internals
    170. io_error_inprogress
    171. io_error_more
    172. io_error_uncategorized
    173. io_slice_as_bytes
    174. ip
    175. ip_as_octets
    176. ip_from
    177. is_ascii_octdigit
    178. is_loongarch_feature_detected
    179. is_riscv_feature_detected
    180. isolate_most_least_significant_one
    181. iter_advance_by
    182. iter_array_chunks
    183. iter_chain
    184. iter_collect_into
    185. iter_from_coroutine
    186. iter_intersperse
    187. iter_is_partitioned
    188. iter_macro
    189. iter_map_windows
    190. iter_next_chunk
    191. iter_order_by
    192. iter_partition_in_place
    193. iterator_try_collect
    194. iterator_try_reduce
    195. junction_point
    196. layout_for_ptr
    197. lazy_cell_into_inner
    198. lazy_get
    199. legacy_receiver_trait
    200. liballoc_internals
    201. libstd_sys_internals
    202. likely_unlikely
    203. linked_list_cursors
    204. linked_list_remove
    205. linked_list_retain
    206. linux_pidfd
    207. local_waker
    208. lock_value_accessors
    209. log_syntax
    210. map_try_insert
    211. mapped_lock_guards
    212. maybe_uninit_array_assume_init
    213. maybe_uninit_as_bytes
    214. maybe_uninit_fill
    215. maybe_uninit_slice
    216. maybe_uninit_uninit_array_transpose
    217. maybe_uninit_write_slice
    218. mem_copy_fn
    219. mixed_integer_ops_unsigned_sub
    220. more_float_constants
    221. mpmc_channel
    222. mutex_data_ptr
    223. new_range_api
    224. new_zeroed_alloc
    225. next_index
    226. nonzero_bitwise
    227. nonzero_from_mut
    228. nonzero_internals
    229. nonzero_ops
    230. normalize_lexically
    231. numfmt
    232. once_cell_get_mut
    233. once_cell_try
    234. once_cell_try_insert
    235. one_sided_range
    236. option_array_transpose
    237. option_zip
    238. os_str_slice
    239. os_string_truncate
    240. panic_abort
    241. panic_always_abort
    242. panic_backtrace_config
    243. panic_can_unwind
    244. panic_internals
    245. panic_payload_as_str
    246. panic_unwind
    247. panic_update_hook
    248. partial_ord_chaining_methods
    249. path_add_extension
    250. path_file_prefix
    251. pattern
    252. pattern_type_macro
    253. pattern_type_range_trait
    254. peer_credentials_unix_socket
    255. phantom_variance_markers
    256. pin_coerce_unsized_trait
    257. pointer_is_aligned_to
    258. pointer_like_trait
    259. pointer_try_cast_aligned
    260. portable_simd
    261. prelude_future
    262. prelude_next
    263. print_internals
    264. proc_macro_def_site
    265. proc_macro_diagnostic
    266. proc_macro_expand
    267. proc_macro_internals
    268. proc_macro_quote
    269. proc_macro_span
    270. proc_macro_totokens
    271. proc_macro_tracked_env
    272. proc_macro_value
    273. process_chroot
    274. process_exitcode_internals
    275. process_internals
    276. profiler_runtime_lib
    277. ptr_alignment_type
    278. ptr_as_ref_unchecked
    279. ptr_as_uninit
    280. ptr_internals
    281. ptr_mask
    282. ptr_metadata
    283. pub_crate_should_not_need_unstable_attr
    284. random
    285. range_bounds_is_empty
    286. range_into_bounds
    287. raw_os_error_ty
    288. raw_slice_split
    289. raw_vec_internals
    290. read_buf
    291. reentrant_lock
    292. reentrant_lock_data_ptr
    293. restricted_std
    294. result_option_map_or_default
    295. round_char_boundary
    296. rt
    297. rwlock_data_ptr
    298. rwlock_downgrade
    299. sealed
    300. seek_io_take_position
    301. seek_stream_len
    302. set_ptr_value
    303. setgroups
    304. sgx_platform
    305. sized_type_properties
    306. slice_as_array
    307. slice_concat_ext
    308. slice_concat_trait
    309. slice_from_ptr_range
    310. slice_index_methods
    311. slice_internals
    312. slice_iter_mut_as_mut_slice
    313. slice_partition_dedup
    314. slice_pattern
    315. slice_ptr_get
    316. slice_range
    317. slice_split_once
    318. slice_swap_unchecked
    319. solid_ext
    320. sort_floats
    321. split_array
    322. split_as_slice
    323. std_internals
    324. stdarch_arm_feature_detection
    325. stdarch_mips_feature_detection
    326. stdarch_powerpc_feature_detection
    327. stdarch_s390x_feature_detection
    328. stdio_makes_pipe
    329. step_trait
    330. str_as_str
    331. str_from_raw_parts
    332. str_from_utf16_endian
    333. str_internals
    334. str_lines_remainder
    335. str_split_inclusive_remainder
    336. str_split_remainder
    337. str_split_whitespace_remainder
    338. strict_overflow_ops
    339. strict_provenance_atomic_ptr
    340. string_from_utf8_lossy_owned
    341. string_into_chars
    342. string_remove_matches
    343. substr_range
    344. sync_poison_mod
    345. sync_unsafe_cell
    346. tcp_deferaccept
    347. tcp_linger
    348. tcplistener_into_incoming
    349. temporary_niche_types
    350. test
    351. thin_box
    352. thread_id_value
    353. thread_local_internals
    354. thread_raw
    355. thread_sleep_until
    356. thread_spawn_hook
    357. trace_macros
    358. track_path
    359. transmutability
    360. trim_prefix_suffix
    361. trusted_fused
    362. trusted_len
    363. trusted_len_next_unchecked
    364. trusted_random_access
    365. trusted_step
    366. try_find
    367. try_reserve_kind
    368. try_trait_v2
    369. try_trait_v2_residual
    370. try_trait_v2_yeet
    371. try_with_capacity
    372. tuple_trait
    373. type_ascription
    374. ub_checks
    375. uefi_std
    376. uint_bit_width
    377. unchecked_neg
    378. unchecked_shifts
    379. unicode_internals
    380. unique_rc_arc
    381. unix_file_vectored_at
    382. unix_mkfifo
    383. unix_send_signal
    384. unix_set_mark
    385. unix_socket_ancillary_data
    386. unix_socket_peek
    387. unsafe_cell_access
    388. unsafe_pinned
    389. unsigned_nonzero_div_ceil
    390. unsigned_signed_diff
    391. unsize
    392. unwrap_infallible
    393. update_panic_count
    394. utf16_extra
    395. variant_count
    396. vec_deque_iter_as_slices
    397. vec_deque_pop_if
    398. vec_deque_truncate_front
    399. vec_into_raw_parts
    400. vec_peek_mut
    401. vec_push_within_capacity
    402. vec_split_at_spare
    403. wasi_ext
    404. windows_by_handle
    405. windows_c
    406. windows_change_time
    407. windows_handle
    408. windows_net
    409. windows_process_exit_code_from
    410. windows_process_extensions_async_pipes
    411. windows_process_extensions_force_quotes
    412. windows_process_extensions_main_thread_handle
    413. windows_process_extensions_raw_attribute
    414. windows_process_extensions_show_window
    415. windows_process_extensions_startupinfo
    416. windows_stdio
    417. wrapping_int_impl
    418. wrapping_next_power_of_two
    419. write_all_vectored
    420. yeet_desugar_details