1. The Unstable Book
  2. Compiler environment variables
    1. COLORTERM
    2. QNX_TARGET
    3. RUSTC_BLESS
    4. RUSTC_BOOTSTRAP
    5. RUSTC_BREAK_ON_ICE
    6. RUSTC_CTFE_BACKTRACE
    7. RUSTC_FORCE_RUSTC_VERSION
    8. RUSTC_GRAPHVIZ_FONT
    9. RUSTC_ICE
    10. RUSTC_LOG
    11. RUSTC_OVERRIDE_VERSION_STRING
    12. RUSTC_TRANSLATION_NO_DEBUG_ASSERT
    13. RUSTC_WINDOWS_RC
    14. RUST_BACKTRACE
    15. RUST_DEP_GRAPH
    16. RUST_DEP_GRAPH_FILTER
    17. RUST_FORBID_DEP_GRAPH_EDGE
    18. RUST_MIN_STACK
    19. RUST_TARGET_PATH
    20. SDKROOT
    21. TERM
    22. UNSTABLE_RUSTDOC_TEST_LINE
    23. UNSTABLE_RUSTDOC_TEST_PATH
  3. Compiler flags
    1. allow_features
    2. annotate_moves
    3. autodiff
    4. branch_protection
    5. cf_protection
    6. codegen_backend
    7. codegen_options
    8. codegen_source_order
    9. control_flow_guard
    10. coverage_options
    11. crate_attr
    12. debug_info_for_profiling
    13. debug_info_type_line_numbers
    14. default_visibility
    15. direct_access_external_data
    16. dump_mono_stats
    17. dump_mono_stats_format
    18. dylib_lto
    19. eagerly_emit_delayed_bugs
    20. embed_metadata
    21. embed_source
    22. emit_stack_sizes
    23. emscripten_wasm_eh
    24. env_set
    25. export_executable_symbols
    26. extern_options
    27. external_clangrt
    28. fixed_x18
    29. fmt_debug
    30. function_return
    31. hint_mostly_unused
    32. indirect_branch_cs_prefix
    33. instrument_xray
    34. link_native_libraries
    35. lint_llvm_ir
    36. llvm_module_flag
    37. location_detail
    38. macro_stats
    39. min_function_alignment
    40. move_size_limit
    41. no_parallel_llvm
    42. no_steal_thir
    43. no_unique_section_names
    44. offload
    45. on_broken_pipe
    46. patchable_function_entry
    47. print_check_cfg
    48. print_crate_root_lint_levels
    49. print_supported_crate_types
    50. profile_sample_use
    51. randomize_layout
    52. reg_struct_return
    53. regparm
    54. remap_cwd_prefix
    55. remap_path_scope
    56. report_time
    57. sanitizer
    58. self_profile
    59. self_profile_events
    60. shell_argfiles
    61. small_data_threshold
    62. split_dwarf_out_dir
    63. src_hash_algorithm
    64. temps_dir
    65. terminal_urls
    66. tiny_const_eval_limit
    67. tls_model
    68. track_diagnostics
    69. treat_err_as_bug
    70. ub_checks
    71. unsound_mir_opts
    72. verbose_asm
    73. virtual_function_elimination
    74. 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_experimental_arch
    24. asm_experimental_reg
    25. asm_goto_with_outputs
    26. asm_unwind
    27. associated_const_equality
    28. associated_type_defaults
    29. async_drop
    30. async_fn_in_dyn_trait
    31. async_fn_track_caller
    32. async_for_loop
    33. async_trait_bounds
    34. auto_traits
    35. avx10_target_feature
    36. box_patterns
    37. bpf_target_feature
    38. builtin_syntax
    39. c_variadic
    40. c_variadic_naked_functions
    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. derive_from
    81. diagnostic_on_const
    82. doc_cfg
    83. doc_masked
    84. doc_notable_trait
    85. dropck_eyepatch
    86. effective_target_features
    87. ergonomic_clones
    88. ermsb_target_feature
    89. exhaustive_patterns
    90. explicit_extern_abis
    91. explicit_tail_calls
    92. export_stable
    93. extern_types
    94. f128
    95. f16
    96. ffi_const
    97. ffi_pure
    98. fmt_debug
    99. fn_align
    100. fn_delegation
    101. freeze_impls
    102. frontmatter
    103. fundamental
    104. gen_blocks
    105. generic_assert
    106. generic_const_exprs
    107. generic_const_items
    108. generic_const_parameter_types
    109. generic_pattern_types
    110. global_registration
    111. guard_patterns
    112. half_open_range_patterns_in_slices
    113. hexagon_target_feature
    114. if_let_guard
    115. impl_trait_in_assoc_type
    116. impl_trait_in_bindings
    117. impl_trait_in_fn_trait_return
    118. import_trait_associated_functions
    119. inherent_associated_types
    120. intra_doc_pointers
    121. intrinsics
    122. lahfsahf_target_feature
    123. lang_items
    124. large_assignments
    125. lazy_type_alias
    126. link_arg_attribute
    127. link_cfg
    128. link_llvm_intrinsics
    129. linkage
    130. loongarch_target_feature
    131. loop_match
    132. m68k_target_feature
    133. macro_attr
    134. macro_derive
    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. new_range
    156. no_core
    157. non_exhaustive_omitted_patterns_lint
    158. non_lifetime_binders
    159. nvptx_target_feature
    160. offset_of_enum
    161. offset_of_slice
    162. optimize_attribute
    163. panic_runtime
    164. patchable_function_entry
    165. pattern_complexity_limit
    166. pattern_types
    167. pin_ergonomics
    168. postfix_match
    169. powerpc_target_feature
    170. prelude_import
    171. prfchw_target_feature
    172. proc_macro_hygiene
    173. profiler_runtime
    174. raw_dylib_elf
    175. reborrow
    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. sanitize
    191. simd_ffi
    192. sized_hierarchy
    193. sparc_target_feature
    194. specialization
    195. staged_api
    196. static_align
    197. stmt_expr_attributes
    198. strict_provenance_lints
    199. string_deref_patterns
    200. structural_match
    201. super_let
    202. supertrait_item_shadowing
    203. target_feature_inline_always
    204. test_unstable_lint
    205. thread_local
    206. trait_alias
    207. transmute_generic_consts
    208. transparent_unions
    209. trivial_bounds
    210. try_blocks
    211. try_blocks_heterogeneous
    212. type_alias_impl_trait
    213. type_changing_struct_update
    214. unboxed_closures
    215. unqualified_local_imports
    216. unsafe_binders
    217. unsafe_fields
    218. unsized_const_params
    219. unsized_fn_params
    220. used_with_arg
    221. wasm_target_feature
    222. where_clause_attrs
    223. with_negative_coherence
    224. x86_amx_intrinsics
    225. x87_target_feature
    226. xop_target_feature
    227. yeet_expr
    228. 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. alloc_slice_into_array
    9. allocator_api
    10. alloctests
    11. arc_is_unique
    12. array_into_iter_constructors
    13. array_ptr_get
    14. array_try_from_fn
    15. array_try_map
    16. ascii_char
    17. ascii_char_variants
    18. assert_matches
    19. async_fn_traits
    20. async_gen_internals
    21. async_iter_from_iter
    22. async_iterator
    23. atomic_from_mut
    24. atomic_internals
    25. atomic_try_update
    26. autodiff
    27. backtrace_frames
    28. bigint_helper_methods
    29. bikeshed_guaranteed_no_drop
    30. binary_heap_drain_sorted
    31. binary_heap_into_iter_sorted
    32. binary_heap_peek_mut_refresh
    33. bool_to_result
    34. bound_as_ref
    35. bound_copied
    36. box_as_ptr
    37. box_into_boxed_slice
    38. box_into_inner
    39. box_take
    40. box_vec_non_null
    41. breakpoint
    42. bstr
    43. bstr_internals
    44. btree_cursors
    45. btree_set_entry
    46. btreemap_alloc
    47. buf_read_has_data_left
    48. bufreader_peek
    49. c_size_t
    50. c_void_variant
    51. can_vector
    52. cast_maybe_uninit
    53. cell_get_cloned
    54. cell_leak
    55. cfg_accessible
    56. cfg_eval
    57. cfg_select
    58. char_internals
    59. char_max_len
    60. clamp_magnitude
    61. clone_from_ref
    62. clone_to_uninit
    63. cmp_minmax
    64. coerce_pointee_validated
    65. coerce_unsized
    66. cold_path
    67. command_resolved_envs
    68. concat_bytes
    69. const_alloc_error
    70. const_array
    71. const_btree_len
    72. const_carrying_mul_add
    73. const_cell_traits
    74. const_clone
    75. const_cmp
    76. const_control_flow
    77. const_convert
    78. const_default
    79. const_drop_in_place
    80. const_eval_select
    81. const_format_args
    82. const_heap
    83. const_index
    84. const_manually_drop_take
    85. const_never_short_circuit
    86. const_ops
    87. const_option_ops
    88. const_range
    89. const_range_bounds
    90. const_raw_ptr_comparison
    91. const_ref_cell
    92. const_result_trait_fn
    93. const_result_unwrap_unchecked
    94. const_select_unpredictable
    95. const_slice_from_mut_ptr_range
    96. const_slice_from_ptr_range
    97. const_slice_make_iter
    98. const_split_off_first_last
    99. const_swap_with_slice
    100. const_try_residual
    101. const_type_name
    102. container_error_extra
    103. context_ext
    104. control_flow_into_value
    105. control_flow_ok
    106. convert_float_to_int
    107. copied_into_inner
    108. core_float_math
    109. core_intrinsics
    110. core_intrinsics_fallbacks
    111. core_io_borrowed_buf
    112. core_private_bignum
    113. core_private_diy_float
    114. coroutine_trait
    115. cow_is_borrowed
    116. cstr_bytes
    117. cstr_display
    118. cstr_internals
    119. current_thread_id
    120. cursor_split
    121. darwin_objc
    122. deadline_api
    123. debug_closure_helpers
    124. dec2flt
    125. deque_extend_front
    126. deref_pure_trait
    127. derive_clone_copy
    128. derive_coerce_pointee
    129. derive_const
    130. derive_eq
    131. dir_entry_ext2
    132. discriminant_kind
    133. disjoint_bitor
    134. dispatch_from_dyn
    135. downcast_unchecked
    136. drain_keep_rest
    137. drop_guard
    138. duration_constants
    139. duration_constructors
    140. duration_millis_float
    141. duration_units
    142. edition_panic
    143. error_generic_member_access
    144. error_iter
    145. error_reporter
    146. error_type_id
    147. exact_bitshifts
    148. exact_div
    149. exact_size_is_empty
    150. exclusive_wrapper
    151. exit_status_error
    152. exitcode_exit_method
    153. extend_one
    154. extend_one_unchecked
    155. fd
    156. fd_read
    157. file_buffered
    158. float_algebraic
    159. float_erf
    160. float_gamma
    161. float_minimum_maximum
    162. flt2dec
    163. fmt_arguments_from_str
    164. fmt_helpers_for_derive
    165. fmt_internals
    166. fn_ptr_trait
    167. fn_traits
    168. forget_unsized
    169. format_args_nl
    170. formatting_options
    171. freeze
    172. fs_set_times
    173. funnel_shifts
    174. future_join
    175. gen_future
    176. generic_assert_internals
    177. generic_atomic
    178. get_disjoint_mut_helpers
    179. get_mut_unchecked
    180. gethostname
    181. hash_set_entry
    182. hasher_prefixfree_extras
    183. hashmap_internals
    184. hint_must_use
    185. hint_prefetch
    186. inplace_iteration
    187. int_format_into
    188. int_from_ascii
    189. int_lowest_highest_one
    190. int_roundings
    191. integer_atomics
    192. internal_impls_macro
    193. internal_output_capture
    194. io_const_error
    195. io_const_error_internals
    196. io_error_inprogress
    197. io_error_more
    198. io_error_uncategorized
    199. io_slice_as_bytes
    200. ip
    201. ip_as_octets
    202. is_ascii_octdigit
    203. is_loongarch_feature_detected
    204. is_riscv_feature_detected
    205. isolate_most_least_significant_one
    206. iter_advance_by
    207. iter_array_chunks
    208. iter_collect_into
    209. iter_from_coroutine
    210. iter_intersperse
    211. iter_is_partitioned
    212. iter_macro
    213. iter_map_windows
    214. iter_next_chunk
    215. iter_order_by
    216. iter_partition_in_place
    217. iterator_try_collect
    218. iterator_try_reduce
    219. junction_point
    220. layout_for_ptr
    221. lazy_cell_into_inner
    222. lazy_get
    223. legacy_receiver_trait
    224. liballoc_internals
    225. libstd_sys_internals
    226. likely_unlikely
    227. linked_list_cursors
    228. linked_list_remove
    229. linked_list_retain
    230. linux_pidfd
    231. local_key_cell_update
    232. local_waker
    233. lock_value_accessors
    234. log_syntax
    235. map_try_insert
    236. mapped_lock_guards
    237. maybe_uninit_array_assume_init
    238. maybe_uninit_as_bytes
    239. maybe_uninit_fill
    240. maybe_uninit_uninit_array_transpose
    241. mem_conjure_zst
    242. mem_copy_fn
    243. min_const_control_flow
    244. more_float_constants
    245. motor_ext
    246. mpmc_channel
    247. mutex_data_ptr
    248. new_range_api
    249. next_index
    250. nonpoison_condvar
    251. nonpoison_mutex
    252. nonpoison_rwlock
    253. nonzero_bitwise
    254. nonzero_from_mut
    255. nonzero_internals
    256. nonzero_ops
    257. normalize_lexically
    258. numfmt
    259. objc_class_variant
    260. objc_selector_variant
    261. once_cell_get_mut
    262. once_cell_try
    263. once_cell_try_insert
    264. one_sided_range
    265. option_array_transpose
    266. option_into_flat_iter
    267. option_reduce
    268. option_zip
    269. os_str_slice
    270. os_string_truncate
    271. panic_abort
    272. panic_always_abort
    273. panic_backtrace_config
    274. panic_can_unwind
    275. panic_internals
    276. panic_unwind
    277. panic_update_hook
    278. partial_ord_chaining_methods
    279. path_is_empty
    280. path_trailing_sep
    281. pattern
    282. pattern_type_macro
    283. pattern_type_range_trait
    284. peekable_next_if_map
    285. peer_credentials_unix_socket
    286. phantom_variance_markers
    287. pin_coerce_unsized_trait
    288. pin_derefmut_internals
    289. pointer_is_aligned_to
    290. pointer_try_cast_aligned
    291. portable_simd
    292. prelude_future
    293. prelude_next
    294. print_internals
    295. proc_macro_def_site
    296. proc_macro_diagnostic
    297. proc_macro_expand
    298. proc_macro_internals
    299. proc_macro_quote
    300. proc_macro_span
    301. proc_macro_totokens
    302. proc_macro_tracked_env
    303. proc_macro_tracked_path
    304. proc_macro_value
    305. process_chroot
    306. process_exitcode_internals
    307. process_internals
    308. process_setsid
    309. profiler_runtime_lib
    310. profiling_marker_api
    311. ptr_alignment_type
    312. ptr_as_ref_unchecked
    313. ptr_as_uninit
    314. ptr_cast_array
    315. ptr_internals
    316. ptr_mask
    317. ptr_metadata
    318. pub_crate_should_not_need_unstable_attr
    319. push_mut
    320. random
    321. range_bounds_is_empty
    322. range_into_bounds
    323. raw_os_error_ty
    324. raw_slice_split
    325. raw_vec_internals
    326. read_array
    327. read_buf
    328. read_buf_at
    329. reentrant_lock
    330. reentrant_lock_data_ptr
    331. refcell_try_map
    332. restricted_std
    333. result_option_map_or_default
    334. rev_into_inner
    335. rt
    336. rwlock_data_ptr
    337. sealed
    338. seek_io_take_position
    339. seek_stream_len
    340. set_permissions_nofollow
    341. set_ptr_value
    342. setgroups
    343. sgx_platform
    344. sized_type_properties
    345. slice_concat_ext
    346. slice_concat_trait
    347. slice_from_ptr_range
    348. slice_index_methods
    349. slice_internals
    350. slice_iter_mut_as_mut_slice
    351. slice_partition_dedup
    352. slice_pattern
    353. slice_ptr_get
    354. slice_range
    355. slice_split_once
    356. slice_swap_unchecked
    357. sliceindex_wrappers
    358. smart_pointer_try_map
    359. solid_ext
    360. sort_floats
    361. split_array
    362. split_as_slice
    363. std_internals
    364. stdarch_aarch64_feature_detection
    365. stdarch_arm_feature_detection
    366. stdarch_internal
    367. stdarch_loongarch_feature_detection
    368. stdarch_mips_feature_detection
    369. stdarch_powerpc_feature_detection
    370. stdarch_riscv_feature_detection
    371. stdio_makes_pipe
    372. step_trait
    373. str_as_str
    374. str_from_raw_parts
    375. str_from_utf16_endian
    376. str_internals
    377. str_lines_remainder
    378. str_split_inclusive_remainder
    379. str_split_remainder
    380. str_split_whitespace_remainder
    381. string_from_utf8_lossy_owned
    382. string_into_chars
    383. string_remove_matches
    384. string_replace_in_place
    385. strip_circumfix
    386. substr_range
    387. sync_nonpoison
    388. sync_poison_mod
    389. sync_unsafe_cell
    390. tcp_deferaccept
    391. tcp_linger
    392. tcplistener_into_incoming
    393. temporary_niche_types
    394. test
    395. thin_box
    396. thread_id_value
    397. thread_local_internals
    398. thread_raw
    399. thread_sleep_until
    400. thread_spawn_hook
    401. trace_macros
    402. transmutability
    403. trim_prefix_suffix
    404. trivial_clone
    405. trusted_fused
    406. trusted_len
    407. trusted_len_next_unchecked
    408. trusted_random_access
    409. trusted_step
    410. try_find
    411. try_reserve_kind
    412. try_trait_v2
    413. try_trait_v2_residual
    414. try_trait_v2_yeet
    415. try_with_capacity
    416. tuple_trait
    417. type_ascription
    418. ub_checks
    419. uefi_std
    420. uint_bit_width
    421. uint_gather_scatter_bits
    422. unicode_internals
    423. unique_rc_arc
    424. unix_file_vectored_at
    425. unix_mkfifo
    426. unix_send_signal
    427. unix_set_mark
    428. unix_socket_ancillary_data
    429. unix_socket_exclbind
    430. unix_socket_peek
    431. unsafe_cell_access
    432. unsafe_pinned
    433. unsize
    434. unwrap_infallible
    435. update_panic_count
    436. utf16_extra
    437. variant_count
    438. vec_deque_extract_if
    439. vec_deque_iter_as_slices
    440. vec_deque_truncate_front
    441. vec_from_fn
    442. vec_into_chunks
    443. vec_peek_mut
    444. vec_push_within_capacity
    445. vec_recycle
    446. vec_split_at_spare
    447. vec_try_remove
    448. waker_from_fn_ptr
    449. wasi_ext
    450. windows_by_handle
    451. windows_c
    452. windows_change_time
    453. windows_handle
    454. windows_net
    455. windows_process_exit_code_from
    456. windows_process_extensions_async_pipes
    457. windows_process_extensions_force_quotes
    458. windows_process_extensions_inherit_handles
    459. windows_process_extensions_main_thread_handle
    460. windows_process_extensions_raw_attribute
    461. windows_process_extensions_show_window
    462. windows_process_extensions_startupinfo
    463. windows_stdio
    464. wrapping_int_impl
    465. wrapping_next_power_of_two
    466. write_all_vectored
    467. wtf8_internals
    468. yeet_desugar_details