Add tidy-alphabetical to features in alloc & std

So that people have to keep them sorted in future, rather than just sticking them on the end where they conflict more often.
This commit is contained in:
Scott McMurray 2023-04-13 11:05:02 -07:00
parent d8fc819247
commit d374620de4
2 changed files with 45 additions and 29 deletions

View File

@ -90,6 +90,11 @@
#![warn(multiple_supertrait_upcastable)] #![warn(multiple_supertrait_upcastable)]
// //
// Library features: // Library features:
// tidy-alphabetical-start
#![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))]
#![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))]
#![cfg_attr(test, feature(is_sorted))]
#![cfg_attr(test, feature(new_uninit))]
#![feature(alloc_layout_extra)] #![feature(alloc_layout_extra)]
#![feature(allocator_api)] #![feature(allocator_api)]
#![feature(array_chunks)] #![feature(array_chunks)]
@ -99,23 +104,21 @@
#![feature(assert_matches)] #![feature(assert_matches)]
#![feature(async_iterator)] #![feature(async_iterator)]
#![feature(coerce_unsized)] #![feature(coerce_unsized)]
#![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))]
#![feature(const_box)]
#![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))]
#![feature(const_cow_is_borrowed)]
#![feature(const_convert)]
#![feature(const_size_of_val)]
#![feature(const_align_of_val)] #![feature(const_align_of_val)]
#![feature(const_ptr_read)] #![feature(const_box)]
#![feature(const_maybe_uninit_zeroed)] #![feature(const_convert)]
#![feature(const_maybe_uninit_write)] #![feature(const_cow_is_borrowed)]
#![feature(const_eval_select)]
#![feature(const_maybe_uninit_as_mut_ptr)] #![feature(const_maybe_uninit_as_mut_ptr)]
#![feature(const_maybe_uninit_write)]
#![feature(const_maybe_uninit_zeroed)]
#![feature(const_pin)]
#![feature(const_ptr_read)]
#![feature(const_refs_to_cell)] #![feature(const_refs_to_cell)]
#![feature(const_size_of_val)]
#![feature(const_waker)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(core_panic)] #![feature(core_panic)]
#![feature(const_eval_select)]
#![feature(const_pin)]
#![feature(const_waker)]
#![feature(dispatch_from_dyn)] #![feature(dispatch_from_dyn)]
#![feature(error_generic_member_access)] #![feature(error_generic_member_access)]
#![feature(error_in_core)] #![feature(error_in_core)]
@ -126,7 +129,6 @@
#![feature(hasher_prefixfree_extras)] #![feature(hasher_prefixfree_extras)]
#![feature(inline_const)] #![feature(inline_const)]
#![feature(inplace_iteration)] #![feature(inplace_iteration)]
#![cfg_attr(test, feature(is_sorted))]
#![feature(iter_advance_by)] #![feature(iter_advance_by)]
#![feature(iter_next_chunk)] #![feature(iter_next_chunk)]
#![feature(iter_repeat_n)] #![feature(iter_repeat_n)]
@ -134,7 +136,6 @@
#![feature(maybe_uninit_slice)] #![feature(maybe_uninit_slice)]
#![feature(maybe_uninit_uninit_array)] #![feature(maybe_uninit_uninit_array)]
#![feature(maybe_uninit_uninit_array_transpose)] #![feature(maybe_uninit_uninit_array_transpose)]
#![cfg_attr(test, feature(new_uninit))]
#![feature(pattern)] #![feature(pattern)]
#![feature(pointer_byte_offsets)] #![feature(pointer_byte_offsets)]
#![feature(provide_any)] #![feature(provide_any)]
@ -150,6 +151,7 @@
#![feature(slice_ptr_get)] #![feature(slice_ptr_get)]
#![feature(slice_ptr_len)] #![feature(slice_ptr_len)]
#![feature(slice_range)] #![feature(slice_range)]
#![feature(std_internals)]
#![feature(str_internals)] #![feature(str_internals)]
#![feature(strict_provenance)] #![feature(strict_provenance)]
#![feature(trusted_len)] #![feature(trusted_len)]
@ -160,41 +162,43 @@
#![feature(unicode_internals)] #![feature(unicode_internals)]
#![feature(unsize)] #![feature(unsize)]
#![feature(utf8_chunks)] #![feature(utf8_chunks)]
#![feature(std_internals)] // tidy-alphabetical-end
// //
// Language features: // Language features:
// tidy-alphabetical-start
#![cfg_attr(not(test), feature(generator_trait))]
#![cfg_attr(test, feature(panic_update_hook))]
#![cfg_attr(test, feature(test))]
#![feature(allocator_internals)] #![feature(allocator_internals)]
#![feature(allow_internal_unstable)] #![feature(allow_internal_unstable)]
#![feature(associated_type_bounds)] #![feature(associated_type_bounds)]
#![feature(c_unwind)]
#![feature(cfg_sanitize)] #![feature(cfg_sanitize)]
#![feature(const_deref)] #![feature(const_deref)]
#![feature(const_mut_refs)] #![feature(const_mut_refs)]
#![feature(const_ptr_write)]
#![feature(const_precise_live_drops)] #![feature(const_precise_live_drops)]
#![feature(const_ptr_write)]
#![feature(const_trait_impl)] #![feature(const_trait_impl)]
#![feature(const_try)] #![feature(const_try)]
#![feature(dropck_eyepatch)] #![feature(dropck_eyepatch)]
#![feature(exclusive_range_pattern)] #![feature(exclusive_range_pattern)]
#![feature(fundamental)] #![feature(fundamental)]
#![cfg_attr(not(test), feature(generator_trait))]
#![feature(hashmap_internals)] #![feature(hashmap_internals)]
#![feature(lang_items)] #![feature(lang_items)]
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(multiple_supertrait_upcastable)]
#![feature(negative_impls)] #![feature(negative_impls)]
#![feature(never_type)] #![feature(never_type)]
#![feature(pointer_is_aligned)]
#![feature(rustc_allow_const_fn_unstable)] #![feature(rustc_allow_const_fn_unstable)]
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#![feature(pointer_is_aligned)]
#![feature(slice_internals)] #![feature(slice_internals)]
#![feature(staged_api)] #![feature(staged_api)]
#![feature(stmt_expr_attributes)] #![feature(stmt_expr_attributes)]
#![cfg_attr(test, feature(test))]
#![feature(unboxed_closures)] #![feature(unboxed_closures)]
#![feature(unsized_fn_params)] #![feature(unsized_fn_params)]
#![feature(c_unwind)]
#![feature(with_negative_coherence)] #![feature(with_negative_coherence)]
#![cfg_attr(test, feature(panic_update_hook))] // tidy-alphabetical-end
#![feature(multiple_supertrait_upcastable)]
// //
// Rustdoc features: // Rustdoc features:
#![feature(doc_cfg)] #![feature(doc_cfg)]

View File

@ -235,6 +235,7 @@
#![cfg_attr(windows, feature(round_char_boundary))] #![cfg_attr(windows, feature(round_char_boundary))]
// //
// Language features: // Language features:
// tidy-alphabetical-start
#![feature(alloc_error_handler)] #![feature(alloc_error_handler)]
#![feature(allocator_internals)] #![feature(allocator_internals)]
#![feature(allow_internal_unsafe)] #![feature(allow_internal_unsafe)]
@ -257,8 +258,8 @@
#![feature(is_terminal)] #![feature(is_terminal)]
#![feature(lang_items)] #![feature(lang_items)]
#![feature(let_chains)] #![feature(let_chains)]
#![feature(linkage)]
#![feature(link_cfg)] #![feature(link_cfg)]
#![feature(linkage)]
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(must_not_suspend)] #![feature(must_not_suspend)]
#![feature(needs_panic_runtime)] #![feature(needs_panic_runtime)]
@ -272,8 +273,10 @@
#![feature(thread_local)] #![feature(thread_local)]
#![feature(try_blocks)] #![feature(try_blocks)]
#![feature(utf8_chunks)] #![feature(utf8_chunks)]
// tidy-alphabetical-end
// //
// Library features (core): // Library features (core):
// tidy-alphabetical-start
#![feature(char_internals)] #![feature(char_internals)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(duration_constants)] #![feature(duration_constants)]
@ -290,6 +293,7 @@
#![feature(ip)] #![feature(ip)]
#![feature(ip_in_core)] #![feature(ip_in_core)]
#![feature(maybe_uninit_slice)] #![feature(maybe_uninit_slice)]
#![feature(maybe_uninit_uninit_array)]
#![feature(maybe_uninit_write_slice)] #![feature(maybe_uninit_write_slice)]
#![feature(panic_can_unwind)] #![feature(panic_can_unwind)]
#![feature(panic_info_message)] #![feature(panic_info_message)]
@ -307,25 +311,28 @@
#![feature(std_internals)] #![feature(std_internals)]
#![feature(str_internals)] #![feature(str_internals)]
#![feature(strict_provenance)] #![feature(strict_provenance)]
#![feature(maybe_uninit_uninit_array)] // tidy-alphabetical-end
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_waker)]
// //
// Library features (alloc): // Library features (alloc):
// tidy-alphabetical-start
#![feature(alloc_layout_extra)] #![feature(alloc_layout_extra)]
#![feature(allocator_api)] #![feature(allocator_api)]
#![feature(get_mut_unchecked)] #![feature(get_mut_unchecked)]
#![feature(map_try_insert)] #![feature(map_try_insert)]
#![feature(new_uninit)] #![feature(new_uninit)]
#![feature(slice_concat_trait)]
#![feature(thin_box)] #![feature(thin_box)]
#![feature(try_reserve_kind)] #![feature(try_reserve_kind)]
#![feature(vec_into_raw_parts)] #![feature(vec_into_raw_parts)]
#![feature(slice_concat_trait)] // tidy-alphabetical-end
// //
// Library features (unwind): // Library features (unwind):
// tidy-alphabetical-start
#![feature(panic_unwind)] #![feature(panic_unwind)]
// tidy-alphabetical-end
// //
// Only for re-exporting: // Only for re-exporting:
// tidy-alphabetical-start
#![feature(assert_matches)] #![feature(assert_matches)]
#![feature(async_iterator)] #![feature(async_iterator)]
#![feature(c_variadic)] #![feature(c_variadic)]
@ -337,24 +344,29 @@
#![feature(custom_test_frameworks)] #![feature(custom_test_frameworks)]
#![feature(edition_panic)] #![feature(edition_panic)]
#![feature(format_args_nl)] #![feature(format_args_nl)]
#![feature(log_syntax)] #![feature(get_many_mut)]
#![feature(lazy_cell)] #![feature(lazy_cell)]
#![feature(log_syntax)]
#![feature(saturating_int_impl)] #![feature(saturating_int_impl)]
#![feature(stdsimd)] #![feature(stdsimd)]
#![feature(test)] #![feature(test)]
#![feature(trace_macros)] #![feature(trace_macros)]
#![feature(get_many_mut)] // tidy-alphabetical-end
// //
// Only used in tests/benchmarks: // Only used in tests/benchmarks:
// //
// Only for const-ness: // Only for const-ness:
// tidy-alphabetical-start
#![feature(const_collections_with_hasher)] #![feature(const_collections_with_hasher)]
#![feature(const_hash)] #![feature(const_hash)]
#![feature(const_io_structs)] #![feature(const_io_structs)]
#![feature(const_ip)] #![feature(const_ip)]
#![feature(const_ipv4)] #![feature(const_ipv4)]
#![feature(const_ipv6)] #![feature(const_ipv6)]
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_waker)]
#![feature(thread_local_internals)] #![feature(thread_local_internals)]
// tidy-alphabetical-end
// //
#![default_lib_allocator] #![default_lib_allocator]