2020-03-06 19:40:54 -06:00
|
|
|
#![feature(alloc_layout_extra)]
|
2020-05-18 14:24:37 -05:00
|
|
|
#![feature(array_chunks)]
|
2020-08-30 14:07:23 -05:00
|
|
|
#![feature(array_methods)]
|
2020-08-13 14:09:14 -05:00
|
|
|
#![feature(array_windows)]
|
2021-12-23 05:07:41 -06:00
|
|
|
#![feature(bench_black_box)]
|
2019-09-07 09:49:27 -05:00
|
|
|
#![feature(bool_to_option)]
|
2015-01-07 20:53:58 -06:00
|
|
|
#![feature(box_syntax)]
|
2018-04-06 15:45:31 -05:00
|
|
|
#![feature(cell_update)]
|
2022-02-10 16:30:51 -06:00
|
|
|
#![cfg_attr(bootstrap, feature(cfg_panic))]
|
2022-02-09 12:14:35 -06:00
|
|
|
#![cfg_attr(bootstrap, feature(cfg_target_has_atomic))]
|
2020-09-24 09:41:40 -05:00
|
|
|
#![feature(const_assume)]
|
2021-12-23 05:07:41 -06:00
|
|
|
#![feature(const_black_box)]
|
2021-12-14 10:11:23 -06:00
|
|
|
#![feature(const_bool_to_option)]
|
2020-11-04 04:41:57 -06:00
|
|
|
#![feature(const_cell_into_inner)]
|
2021-10-18 05:19:28 -05:00
|
|
|
#![feature(const_convert)]
|
2022-01-25 22:06:09 -06:00
|
|
|
#![feature(const_heap)]
|
2021-11-16 18:58:52 -06:00
|
|
|
#![feature(const_maybe_uninit_as_mut_ptr)]
|
2020-12-05 12:37:03 -06:00
|
|
|
#![feature(const_maybe_uninit_assume_init)]
|
2022-01-11 08:46:53 -06:00
|
|
|
#![feature(const_maybe_uninit_assume_init_read)]
|
2022-01-28 03:41:35 -06:00
|
|
|
#![feature(const_nonnull_new)]
|
2021-12-05 04:46:29 -06:00
|
|
|
#![feature(const_num_from_num)]
|
2022-01-28 03:41:35 -06:00
|
|
|
#![feature(const_ptr_as_ref)]
|
2020-12-25 18:59:08 -06:00
|
|
|
#![feature(const_ptr_read)]
|
2021-01-18 15:59:56 -06:00
|
|
|
#![feature(const_ptr_write)]
|
2020-12-25 18:59:08 -06:00
|
|
|
#![feature(const_ptr_offset)]
|
2021-03-13 11:40:47 -06:00
|
|
|
#![feature(const_trait_impl)]
|
2021-12-23 05:07:41 -06:00
|
|
|
#![feature(const_likely)]
|
2020-09-24 09:41:40 -05:00
|
|
|
#![feature(core_intrinsics)]
|
2015-09-20 11:34:33 -05:00
|
|
|
#![feature(core_private_bignum)]
|
|
|
|
#![feature(core_private_diy_float)]
|
2015-08-29 11:30:05 -05:00
|
|
|
#![feature(dec2flt)]
|
2020-09-04 13:17:06 -05:00
|
|
|
#![feature(div_duration)]
|
2021-10-04 22:09:23 -05:00
|
|
|
#![feature(duration_consts_float)]
|
2020-08-30 12:31:34 -05:00
|
|
|
#![feature(duration_constants)]
|
2017-07-06 10:13:29 -05:00
|
|
|
#![feature(exact_size_is_empty)]
|
2020-10-19 08:38:11 -05:00
|
|
|
#![feature(extern_types)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(flt2dec)]
|
2017-03-17 09:05:44 -05:00
|
|
|
#![feature(fmt_internals)]
|
2021-11-18 04:48:52 -06:00
|
|
|
#![feature(float_minimum_maximum)]
|
2021-12-07 20:10:39 -06:00
|
|
|
#![feature(future_join)]
|
|
|
|
#![feature(future_poll_fn)]
|
2021-09-30 05:49:32 -05:00
|
|
|
#![feature(array_from_fn)]
|
2018-03-17 05:07:50 -05:00
|
|
|
#![feature(hashmap_internals)]
|
2019-08-06 06:13:13 -05:00
|
|
|
#![feature(try_find)]
|
2021-12-23 05:07:41 -06:00
|
|
|
#![feature(inline_const)]
|
2018-10-11 11:53:15 -05:00
|
|
|
#![feature(is_sorted)]
|
2017-12-17 16:44:03 -06:00
|
|
|
#![feature(pattern)]
|
2022-01-23 18:41:37 -06:00
|
|
|
#![feature(pin_macro)]
|
2017-03-20 20:38:03 -05:00
|
|
|
#![feature(sort_internals)]
|
2021-10-09 10:28:20 -05:00
|
|
|
#![feature(slice_take)]
|
2021-10-11 16:41:25 -05:00
|
|
|
#![feature(slice_from_ptr_range)]
|
2021-01-01 15:12:49 -06:00
|
|
|
#![feature(maybe_uninit_uninit_array)]
|
|
|
|
#![feature(maybe_uninit_array_assume_init)]
|
2020-12-01 00:24:04 -06:00
|
|
|
#![feature(maybe_uninit_write_slice)]
|
2020-06-16 06:07:15 -05:00
|
|
|
#![feature(min_specialization)]
|
2021-06-05 20:08:09 -05:00
|
|
|
#![feature(numfmt)]
|
2017-04-23 23:47:09 -05:00
|
|
|
#![feature(step_trait)]
|
2018-04-05 08:55:28 -05:00
|
|
|
#![feature(str_internals)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(test)]
|
2017-05-23 04:24:25 -05:00
|
|
|
#![feature(trusted_len)]
|
2021-12-09 15:19:57 -06:00
|
|
|
#![feature(try_blocks)]
|
2021-04-15 03:13:39 -05:00
|
|
|
#![feature(try_trait_v2)]
|
2018-05-05 12:02:05 -05:00
|
|
|
#![feature(slice_internals)]
|
2018-09-08 08:33:02 -05:00
|
|
|
#![feature(slice_partition_dedup)]
|
2021-06-24 06:01:17 -05:00
|
|
|
#![feature(int_log)]
|
2020-09-19 03:26:46 -05:00
|
|
|
#![feature(iter_advance_by)]
|
2019-07-09 14:39:19 -05:00
|
|
|
#![feature(iter_partition_in_place)]
|
2021-10-07 12:39:36 -05:00
|
|
|
#![feature(iter_intersperse)]
|
2019-07-09 14:39:19 -05:00
|
|
|
#![feature(iter_is_partitioned)]
|
2019-06-28 07:43:32 -05:00
|
|
|
#![feature(iter_order_by)]
|
2022-02-15 20:58:42 -06:00
|
|
|
#![feature(iterator_try_collect)]
|
2021-07-11 00:43:30 -05:00
|
|
|
#![feature(iterator_try_reduce)]
|
2020-09-18 12:23:50 -05:00
|
|
|
#![feature(const_mut_refs)]
|
2020-09-12 18:55:34 -05:00
|
|
|
#![feature(const_pin)]
|
2019-12-20 14:42:03 -06:00
|
|
|
#![feature(const_slice_from_raw_parts)]
|
2019-11-02 15:12:51 -05:00
|
|
|
#![feature(never_type)]
|
|
|
|
#![feature(unwrap_infallible)]
|
2021-02-17 10:54:52 -06:00
|
|
|
#![feature(result_into_ok_or_err)]
|
2021-11-30 09:50:44 -06:00
|
|
|
#![feature(portable_simd)]
|
2021-03-26 15:10:21 -05:00
|
|
|
#![feature(ptr_metadata)]
|
2020-01-13 21:34:23 -06:00
|
|
|
#![feature(once_cell)]
|
2021-12-14 11:58:01 -06:00
|
|
|
#![feature(option_result_contains)]
|
2020-10-19 08:38:11 -05:00
|
|
|
#![feature(unsized_tuple_coercion)]
|
2020-11-17 12:29:15 -06:00
|
|
|
#![feature(const_option)]
|
2021-12-14 11:58:01 -06:00
|
|
|
#![feature(const_option_ext)]
|
2021-10-16 11:18:00 -05:00
|
|
|
#![feature(const_result)]
|
2020-11-22 02:08:04 -06:00
|
|
|
#![feature(integer_atomics)]
|
2021-09-02 00:28:47 -05:00
|
|
|
#![feature(int_roundings)]
|
2020-12-10 03:16:29 -06:00
|
|
|
#![feature(slice_group_by)]
|
2021-03-17 11:23:09 -05:00
|
|
|
#![feature(split_array)]
|
2021-01-03 18:08:13 -06:00
|
|
|
#![feature(trusted_random_access)]
|
2021-03-26 15:10:21 -05:00
|
|
|
#![feature(unsize)]
|
2021-07-31 18:16:34 -05:00
|
|
|
#![feature(unzip_option)]
|
2021-10-23 14:51:22 -05:00
|
|
|
#![feature(const_array_from_ref)]
|
|
|
|
#![feature(const_slice_from_ref)]
|
2021-12-12 03:55:41 -06:00
|
|
|
#![feature(waker_getters)]
|
2020-11-19 11:32:35 -06:00
|
|
|
#![deny(unsafe_op_in_unsafe_fn)]
|
2014-06-28 15:57:36 -05:00
|
|
|
|
|
|
|
extern crate test;
|
|
|
|
|
2019-04-30 01:23:14 -05:00
|
|
|
mod alloc;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod any;
|
2015-08-29 11:30:05 -05:00
|
|
|
mod array;
|
2018-03-08 21:55:54 -06:00
|
|
|
mod ascii;
|
2014-08-04 17:42:36 -05:00
|
|
|
mod atomic;
|
2019-09-07 09:49:27 -05:00
|
|
|
mod bool;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod cell;
|
|
|
|
mod char;
|
2015-10-15 14:07:20 -05:00
|
|
|
mod clone;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod cmp;
|
2020-12-25 18:59:08 -06:00
|
|
|
mod const_ptr;
|
2021-12-05 04:46:29 -06:00
|
|
|
mod convert;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod fmt;
|
2021-12-07 20:10:39 -06:00
|
|
|
mod future;
|
2014-12-12 20:43:07 -06:00
|
|
|
mod hash;
|
2015-10-15 14:07:20 -05:00
|
|
|
mod intrinsics;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod iter;
|
2020-01-13 21:34:23 -06:00
|
|
|
mod lazy;
|
2020-11-22 02:08:04 -06:00
|
|
|
mod macros;
|
2018-07-27 05:12:55 -05:00
|
|
|
mod manually_drop;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod mem;
|
2014-12-23 14:52:02 -06:00
|
|
|
mod nonzero;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod num;
|
|
|
|
mod ops;
|
|
|
|
mod option;
|
2017-12-17 16:44:03 -06:00
|
|
|
mod pattern;
|
2020-09-12 18:55:34 -05:00
|
|
|
mod pin;
|
2022-01-23 18:41:37 -06:00
|
|
|
mod pin_macro;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod ptr;
|
|
|
|
mod result;
|
2021-10-22 02:47:12 -05:00
|
|
|
mod simd;
|
2014-08-06 22:48:25 -05:00
|
|
|
mod slice;
|
2014-08-18 20:43:43 -05:00
|
|
|
mod str;
|
2018-04-05 08:55:28 -05:00
|
|
|
mod str_lossy;
|
2020-09-03 18:04:34 -05:00
|
|
|
mod task;
|
2018-05-01 06:43:05 -05:00
|
|
|
mod time;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod tuple;
|
2020-11-22 02:08:04 -06:00
|
|
|
mod unicode;
|
2021-12-12 03:55:41 -06:00
|
|
|
mod waker;
|