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_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. c_variadic_naked_functions
    42. cfg_contract_checks
    43. cfg_emscripten_wasm_eh
    44. cfg_overflow_checks
    45. cfg_relocation_model
    46. cfg_sanitize
    47. cfg_sanitizer_cfi
    48. cfg_target_compact
    49. cfg_target_has_atomic
    50. cfg_target_has_atomic_equal_alignment
    51. cfg_target_has_reliable_f16_f128
    52. cfg_target_thread_local
    53. cfg_ub_checks
    54. cfg_version
    55. cfi_encoding
    56. closure_lifetime_binder
    57. closure_track_caller
    58. cmse_nonsecure_entry
    59. compiler_builtins
    60. const_async_blocks
    61. const_closures
    62. const_destruct
    63. const_for
    64. const_precise_live_drops
    65. const_trait_impl
    66. const_try
    67. contracts
    68. contracts_internals
    69. coroutine_clone
    70. coroutines
    71. coverage_attribute
    72. csky_target_feature
    73. custom_inner_attributes
    74. custom_mir
    75. custom_test_frameworks
    76. decl_macro
    77. default_field_values
    78. deprecated_safe
    79. deprecated_suggestion
    80. deref_patterns
    81. derive_from
    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. never_type_fallback
    156. new_range
    157. no_core
    158. non_exhaustive_omitted_patterns_lint
    159. non_lifetime_binders
    160. nvptx_target_feature
    161. offset_of_enum
    162. offset_of_slice
    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. reborrow
    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. sanitize
    192. simd_ffi
    193. sized_hierarchy
    194. sparc_target_feature
    195. specialization
    196. staged_api
    197. static_align
    198. stmt_expr_attributes
    199. strict_provenance_lints
    200. string_deref_patterns
    201. structural_match
    202. super_let
    203. supertrait_item_shadowing
    204. target_feature_inline_always
    205. test_unstable_lint
    206. thread_local
    207. trait_alias
    208. transmute_generic_consts
    209. transparent_unions
    210. trivial_bounds
    211. try_blocks
    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. array_windows
    17. ascii_char
    18. ascii_char_variants
    19. assert_matches
    20. async_fn_traits
    21. async_gen_internals
    22. async_iter_from_iter
    23. async_iterator
    24. atomic_from_mut
    25. atomic_internals
    26. atomic_try_update
    27. autodiff
    28. backtrace_frames
    29. bigint_helper_methods
    30. bikeshed_guaranteed_no_drop
    31. binary_heap_drain_sorted
    32. binary_heap_into_iter_sorted
    33. binary_heap_peek_mut_refresh
    34. bool_to_result
    35. bound_as_ref
    36. bound_copied
    37. box_as_ptr
    38. box_into_boxed_slice
    39. box_into_inner
    40. box_take
    41. box_vec_non_null
    42. breakpoint
    43. bstr
    44. bstr_internals
    45. btree_cursors
    46. btree_set_entry
    47. btreemap_alloc
    48. buf_read_has_data_left
    49. bufreader_peek
    50. c_size_t
    51. c_void_variant
    52. can_vector
    53. cast_maybe_uninit
    54. cell_get_cloned
    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_btree_len
    69. const_carrying_mul_add
    70. const_cell_traits
    71. const_clone
    72. const_cmp
    73. const_control_flow
    74. const_convert
    75. const_default
    76. const_drop_in_place
    77. const_eval_select
    78. const_format_args
    79. const_heap
    80. const_index
    81. const_mul_add
    82. const_ops
    83. const_option_ops
    84. const_range
    85. const_range_bounds
    86. const_raw_ptr_comparison
    87. const_ref_cell
    88. const_result_trait_fn
    89. const_result_unwrap_unchecked
    90. const_select_unpredictable
    91. const_slice_from_mut_ptr_range
    92. const_slice_from_ptr_range
    93. const_slice_make_iter
    94. const_split_off_first_last
    95. const_swap_with_slice
    96. const_try_residual
    97. const_type_name
    98. container_error_extra
    99. context_ext
    100. control_flow_into_value
    101. control_flow_ok
    102. convert_float_to_int
    103. copied_into_inner
    104. core_float_math
    105. core_intrinsics
    106. core_intrinsics_fallbacks
    107. core_io_borrowed_buf
    108. core_private_bignum
    109. core_private_diy_float
    110. coroutine_trait
    111. cow_is_borrowed
    112. cstr_bytes
    113. cstr_display
    114. cstr_internals
    115. current_thread_id
    116. cursor_split
    117. darwin_objc
    118. deadline_api
    119. debug_closure_helpers
    120. dec2flt
    121. deque_extend_front
    122. deref_pure_trait
    123. derive_clone_copy
    124. derive_coerce_pointee
    125. derive_const
    126. derive_eq
    127. dir_entry_ext2
    128. discriminant_kind
    129. disjoint_bitor
    130. dispatch_from_dyn
    131. downcast_unchecked
    132. drain_keep_rest
    133. drop_guard
    134. duration_constants
    135. duration_constructors
    136. duration_millis_float
    137. duration_units
    138. edition_panic
    139. error_generic_member_access
    140. error_iter
    141. error_reporter
    142. error_type_id
    143. exact_bitshifts
    144. exact_div
    145. exact_size_is_empty
    146. exclusive_wrapper
    147. exit_status_error
    148. exitcode_exit_method
    149. extend_one
    150. extend_one_unchecked
    151. fd
    152. fd_read
    153. file_buffered
    154. float_algebraic
    155. float_erf
    156. float_gamma
    157. float_minimum_maximum
    158. flt2dec
    159. fmt_arguments_from_str
    160. fmt_helpers_for_derive
    161. fmt_internals
    162. fn_ptr_trait
    163. fn_traits
    164. forget_unsized
    165. format_args_nl
    166. formatting_options
    167. freeze
    168. fs_set_times
    169. funnel_shifts
    170. future_join
    171. gen_future
    172. generic_assert_internals
    173. generic_atomic
    174. get_disjoint_mut_helpers
    175. get_mut_unchecked
    176. gethostname
    177. hash_set_entry
    178. hasher_prefixfree_extras
    179. hashmap_internals
    180. hint_must_use
    181. inplace_iteration
    182. int_format_into
    183. int_from_ascii
    184. int_lowest_highest_one
    185. int_roundings
    186. integer_atomics
    187. internal_impls_macro
    188. internal_output_capture
    189. io_const_error
    190. io_const_error_internals
    191. io_error_inprogress
    192. io_error_more
    193. io_error_uncategorized
    194. io_slice_as_bytes
    195. ip
    196. ip_as_octets
    197. is_ascii_octdigit
    198. is_loongarch_feature_detected
    199. is_riscv_feature_detected
    200. isolate_most_least_significant_one
    201. iter_advance_by
    202. iter_array_chunks
    203. iter_collect_into
    204. iter_from_coroutine
    205. iter_intersperse
    206. iter_is_partitioned
    207. iter_macro
    208. iter_map_windows
    209. iter_next_chunk
    210. iter_order_by
    211. iter_partition_in_place
    212. iterator_try_collect
    213. iterator_try_reduce
    214. junction_point
    215. layout_for_ptr
    216. lazy_cell_into_inner
    217. lazy_get
    218. legacy_receiver_trait
    219. liballoc_internals
    220. libstd_sys_internals
    221. likely_unlikely
    222. linked_list_cursors
    223. linked_list_remove
    224. linked_list_retain
    225. linux_pidfd
    226. local_key_cell_update
    227. local_waker
    228. lock_value_accessors
    229. log_syntax
    230. map_try_insert
    231. mapped_lock_guards
    232. maybe_uninit_array_assume_init
    233. maybe_uninit_as_bytes
    234. maybe_uninit_fill
    235. maybe_uninit_slice
    236. maybe_uninit_uninit_array_transpose
    237. maybe_uninit_write_slice
    238. mem_conjure_zst
    239. mem_copy_fn
    240. min_const_control_flow
    241. more_float_constants
    242. motor_ext
    243. mpmc_channel
    244. mutex_data_ptr
    245. new_range_api
    246. next_index
    247. nonpoison_condvar
    248. nonpoison_mutex
    249. nonpoison_rwlock
    250. nonzero_bitwise
    251. nonzero_from_mut
    252. nonzero_internals
    253. nonzero_ops
    254. normalize_lexically
    255. numfmt
    256. objc_class_variant
    257. objc_selector_variant
    258. once_cell_get_mut
    259. once_cell_try
    260. once_cell_try_insert
    261. one_sided_range
    262. option_array_transpose
    263. option_reduce
    264. option_zip
    265. os_str_slice
    266. os_string_truncate
    267. panic_abort
    268. panic_always_abort
    269. panic_backtrace_config
    270. panic_can_unwind
    271. panic_internals
    272. panic_unwind
    273. panic_update_hook
    274. partial_ord_chaining_methods
    275. path_is_empty
    276. path_trailing_sep
    277. pattern
    278. pattern_type_macro
    279. pattern_type_range_trait
    280. peekable_next_if_map
    281. peer_credentials_unix_socket
    282. phantom_variance_markers
    283. pin_coerce_unsized_trait
    284. pin_derefmut_internals
    285. pointer_is_aligned_to
    286. pointer_try_cast_aligned
    287. portable_simd
    288. prelude_future
    289. prelude_next
    290. print_internals
    291. proc_macro_def_site
    292. proc_macro_diagnostic
    293. proc_macro_expand
    294. proc_macro_internals
    295. proc_macro_quote
    296. proc_macro_span
    297. proc_macro_totokens
    298. proc_macro_tracked_env
    299. proc_macro_value
    300. process_chroot
    301. process_exitcode_internals
    302. process_internals
    303. process_setsid
    304. profiler_runtime_lib
    305. profiling_marker_api
    306. ptr_alignment_type
    307. ptr_as_ref_unchecked
    308. ptr_as_uninit
    309. ptr_cast_array
    310. ptr_internals
    311. ptr_mask
    312. ptr_metadata
    313. pub_crate_should_not_need_unstable_attr
    314. push_mut
    315. random
    316. range_bounds_is_empty
    317. range_into_bounds
    318. raw_os_error_ty
    319. raw_slice_split
    320. raw_vec_internals
    321. read_array
    322. read_buf
    323. read_buf_at
    324. reentrant_lock
    325. reentrant_lock_data_ptr
    326. refcell_try_map
    327. restricted_std
    328. result_option_map_or_default
    329. rev_into_inner
    330. rt
    331. rwlock_data_ptr
    332. sealed
    333. seek_io_take_position
    334. seek_stream_len
    335. set_permissions_nofollow
    336. set_ptr_value
    337. setgroups
    338. sgx_platform
    339. sized_type_properties
    340. slice_concat_ext
    341. slice_concat_trait
    342. slice_from_ptr_range
    343. slice_index_methods
    344. slice_internals
    345. slice_iter_mut_as_mut_slice
    346. slice_partition_dedup
    347. slice_pattern
    348. slice_ptr_get
    349. slice_range
    350. slice_split_once
    351. slice_swap_unchecked
    352. sliceindex_wrappers
    353. smart_pointer_try_map
    354. solid_ext
    355. sort_floats
    356. split_array
    357. split_as_slice
    358. std_internals
    359. stdarch_aarch64_feature_detection
    360. stdarch_arm_feature_detection
    361. stdarch_internal
    362. stdarch_loongarch_feature_detection
    363. stdarch_mips_feature_detection
    364. stdarch_powerpc_feature_detection
    365. stdarch_riscv_feature_detection
    366. stdio_makes_pipe
    367. step_trait
    368. str_as_str
    369. str_from_raw_parts
    370. str_from_utf16_endian
    371. str_internals
    372. str_lines_remainder
    373. str_split_inclusive_remainder
    374. str_split_remainder
    375. str_split_whitespace_remainder
    376. string_from_utf8_lossy_owned
    377. string_into_chars
    378. string_remove_matches
    379. string_replace_in_place
    380. strip_circumfix
    381. substr_range
    382. sync_nonpoison
    383. sync_poison_mod
    384. sync_unsafe_cell
    385. tcp_deferaccept
    386. tcp_linger
    387. tcplistener_into_incoming
    388. temporary_niche_types
    389. test
    390. thin_box
    391. thread_id_value
    392. thread_local_internals
    393. thread_raw
    394. thread_sleep_until
    395. thread_spawn_hook
    396. trace_macros
    397. track_path
    398. transmutability
    399. trim_prefix_suffix
    400. trivial_clone
    401. trusted_fused
    402. trusted_len
    403. trusted_len_next_unchecked
    404. trusted_random_access
    405. trusted_step
    406. try_find
    407. try_reserve_kind
    408. try_trait_v2
    409. try_trait_v2_residual
    410. try_trait_v2_yeet
    411. try_with_capacity
    412. tuple_trait
    413. type_ascription
    414. ub_checks
    415. uefi_std
    416. uint_bit_width
    417. unchecked_neg
    418. unchecked_shifts
    419. unicode_internals
    420. unique_rc_arc
    421. unix_file_vectored_at
    422. unix_mkfifo
    423. unix_send_signal
    424. unix_set_mark
    425. unix_socket_ancillary_data
    426. unix_socket_exclbind
    427. unix_socket_peek
    428. unsafe_cell_access
    429. unsafe_pinned
    430. unsize
    431. unwrap_infallible
    432. update_panic_count
    433. utf16_extra
    434. variant_count
    435. vec_deque_extract_if
    436. vec_deque_iter_as_slices
    437. vec_deque_truncate_front
    438. vec_into_chunks
    439. vec_peek_mut
    440. vec_push_within_capacity
    441. vec_recycle
    442. vec_split_at_spare
    443. vec_try_remove
    444. waker_from_fn_ptr
    445. wasi_ext
    446. windows_by_handle
    447. windows_c
    448. windows_change_time
    449. windows_handle
    450. windows_net
    451. windows_process_exit_code_from
    452. windows_process_extensions_async_pipes
    453. windows_process_extensions_force_quotes
    454. windows_process_extensions_inherit_handles
    455. windows_process_extensions_main_thread_handle
    456. windows_process_extensions_raw_attribute
    457. windows_process_extensions_show_window
    458. windows_process_extensions_startupinfo
    459. windows_stdio
    460. wrapping_int_impl
    461. wrapping_next_power_of_two
    462. write_all_vectored
    463. wtf8_internals
    464. yeet_desugar_details