2020-03-07 01:40:54 +00:00
|
|
|
#![feature(alloc_layout_extra)]
|
2020-05-18 19:24:37 +00:00
|
|
|
#![feature(array_chunks)]
|
2020-09-22 19:35:43 +00:00
|
|
|
#![feature(array_from_ref)]
|
2020-08-30 19:07:23 +00:00
|
|
|
#![feature(array_methods)]
|
2020-08-06 22:08:56 +00:00
|
|
|
#![feature(array_map)]
|
2020-08-13 19:09:14 +00:00
|
|
|
#![feature(array_windows)]
|
2019-09-07 14:49:27 +00:00
|
|
|
#![feature(bool_to_option)]
|
2019-06-02 05:39:13 +00:00
|
|
|
#![feature(bound_cloned)]
|
2015-01-08 02:53:58 +00:00
|
|
|
#![feature(box_syntax)]
|
2018-04-06 20:45:31 +00:00
|
|
|
#![feature(cell_update)]
|
2020-12-01 06:24:04 +00:00
|
|
|
#![feature(cfg_panic)]
|
2020-11-22 08:08:04 +00:00
|
|
|
#![feature(cfg_target_has_atomic)]
|
2020-09-24 14:41:40 +00:00
|
|
|
#![feature(const_assume)]
|
2020-11-04 10:41:57 +00:00
|
|
|
#![feature(const_cell_into_inner)]
|
2020-12-05 18:37:03 +00:00
|
|
|
#![feature(const_maybe_uninit_assume_init)]
|
2020-12-26 00:59:08 +00:00
|
|
|
#![feature(const_ptr_read)]
|
2021-01-18 21:59:56 +00:00
|
|
|
#![feature(const_ptr_write)]
|
2020-12-26 00:59:08 +00:00
|
|
|
#![feature(const_ptr_offset)]
|
2021-02-07 06:36:05 +00:00
|
|
|
#![feature(control_flow_enum)]
|
2020-09-24 14:41:40 +00:00
|
|
|
#![feature(core_intrinsics)]
|
2015-09-20 16:34:33 +00:00
|
|
|
#![feature(core_private_bignum)]
|
|
|
|
#![feature(core_private_diy_float)]
|
2015-08-29 16:30:05 +00:00
|
|
|
#![feature(dec2flt)]
|
2020-09-04 18:17:06 +00:00
|
|
|
#![feature(div_duration)]
|
|
|
|
#![feature(duration_consts_2)]
|
2020-08-30 17:31:34 +00:00
|
|
|
#![feature(duration_constants)]
|
2017-07-06 15:13:29 +00:00
|
|
|
#![feature(exact_size_is_empty)]
|
2020-10-19 13:38:11 +00:00
|
|
|
#![feature(extern_types)]
|
2015-06-10 20:33:52 +00:00
|
|
|
#![feature(flt2dec)]
|
2017-03-17 14:05:44 +00:00
|
|
|
#![feature(fmt_internals)]
|
2018-03-17 10:07:50 +00:00
|
|
|
#![feature(hashmap_internals)]
|
2019-08-06 11:13:13 +00:00
|
|
|
#![feature(try_find)]
|
2018-10-11 16:53:15 +00:00
|
|
|
#![feature(is_sorted)]
|
2017-12-17 22:44:03 +00:00
|
|
|
#![feature(pattern)]
|
2015-06-10 20:33:52 +00:00
|
|
|
#![feature(raw)]
|
2017-03-21 01:38:03 +00:00
|
|
|
#![feature(sort_internals)]
|
2018-10-28 16:16:46 +00:00
|
|
|
#![feature(slice_partition_at_index)]
|
2021-01-01 21:12:49 +00:00
|
|
|
#![feature(maybe_uninit_uninit_array)]
|
|
|
|
#![feature(maybe_uninit_array_assume_init)]
|
2020-12-26 00:59:08 +00:00
|
|
|
#![feature(maybe_uninit_extra)]
|
2020-12-01 06:24:04 +00:00
|
|
|
#![feature(maybe_uninit_write_slice)]
|
2020-06-16 11:07:15 +00:00
|
|
|
#![feature(min_specialization)]
|
2017-04-24 04:47:09 +00:00
|
|
|
#![feature(step_trait)]
|
2020-02-18 18:18:33 +00:00
|
|
|
#![feature(step_trait_ext)]
|
2018-04-05 13:55:28 +00:00
|
|
|
#![feature(str_internals)]
|
2015-06-10 20:33:52 +00:00
|
|
|
#![feature(test)]
|
2017-05-23 09:24:25 +00:00
|
|
|
#![feature(trusted_len)]
|
2017-06-08 03:52:13 +00:00
|
|
|
#![feature(try_trait)]
|
2018-05-05 17:02:05 +00:00
|
|
|
#![feature(slice_internals)]
|
2018-09-08 13:33:02 +00:00
|
|
|
#![feature(slice_partition_dedup)]
|
2019-02-28 13:47:32 +00:00
|
|
|
#![feature(int_error_matching)]
|
2020-09-19 08:26:46 +00:00
|
|
|
#![feature(iter_advance_by)]
|
2019-07-09 19:39:19 +00:00
|
|
|
#![feature(iter_partition_in_place)]
|
2020-08-21 19:56:40 +00:00
|
|
|
#![feature(iter_intersperse)]
|
2019-07-09 19:39:19 +00:00
|
|
|
#![feature(iter_is_partitioned)]
|
2019-06-28 12:43:32 +00:00
|
|
|
#![feature(iter_order_by)]
|
2020-01-24 11:49:34 +00:00
|
|
|
#![feature(iter_map_while)]
|
2020-09-18 17:23:50 +00:00
|
|
|
#![feature(const_mut_refs)]
|
2020-09-12 23:55:34 +00:00
|
|
|
#![feature(const_pin)]
|
2019-12-20 20:42:03 +00:00
|
|
|
#![feature(const_slice_from_raw_parts)]
|
|
|
|
#![feature(const_raw_ptr_deref)]
|
2019-11-02 20:12:51 +00:00
|
|
|
#![feature(never_type)]
|
|
|
|
#![feature(unwrap_infallible)]
|
2021-01-10 10:36:45 +00:00
|
|
|
#![feature(option_result_unwrap_unchecked)]
|
2021-02-17 16:54:52 +00:00
|
|
|
#![feature(result_into_ok_or_err)]
|
2021-03-26 20:10:21 +00:00
|
|
|
#![feature(ptr_metadata)]
|
2020-01-14 03:34:23 +00:00
|
|
|
#![feature(once_cell)]
|
2020-10-19 13:38:11 +00:00
|
|
|
#![feature(unsized_tuple_coercion)]
|
2020-11-17 18:29:15 +00:00
|
|
|
#![feature(const_option)]
|
2020-11-22 08:08:04 +00:00
|
|
|
#![feature(integer_atomics)]
|
2020-12-10 09:16:29 +00:00
|
|
|
#![feature(slice_group_by)]
|
2021-01-04 00:08:13 +00:00
|
|
|
#![feature(trusted_random_access)]
|
2021-03-26 20:10:21 +00:00
|
|
|
#![feature(unsize)]
|
2020-11-19 17:32:35 +00:00
|
|
|
#![deny(unsafe_op_in_unsafe_fn)]
|
2014-06-28 20:57:36 +00:00
|
|
|
|
|
|
|
extern crate test;
|
|
|
|
|
2019-04-30 06:23:14 +00:00
|
|
|
mod alloc;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod any;
|
2015-08-29 16:30:05 +00:00
|
|
|
mod array;
|
2018-03-09 03:55:54 +00:00
|
|
|
mod ascii;
|
2014-08-04 22:42:36 +00:00
|
|
|
mod atomic;
|
2019-09-07 14:49:27 +00:00
|
|
|
mod bool;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod cell;
|
|
|
|
mod char;
|
2015-10-15 19:07:20 +00:00
|
|
|
mod clone;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod cmp;
|
2020-12-26 00:59:08 +00:00
|
|
|
mod const_ptr;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod fmt;
|
2014-12-13 02:43:07 +00:00
|
|
|
mod hash;
|
2015-10-15 19:07:20 +00:00
|
|
|
mod intrinsics;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod iter;
|
2020-01-14 03:34:23 +00:00
|
|
|
mod lazy;
|
2020-11-22 08:08:04 +00:00
|
|
|
mod macros;
|
2018-07-27 10:12:55 +00:00
|
|
|
mod manually_drop;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod mem;
|
2014-12-23 20:52:02 +00:00
|
|
|
mod nonzero;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod num;
|
|
|
|
mod ops;
|
|
|
|
mod option;
|
2017-12-17 22:44:03 +00:00
|
|
|
mod pattern;
|
2020-09-12 23:55:34 +00:00
|
|
|
mod pin;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod ptr;
|
|
|
|
mod result;
|
2014-08-07 03:48:25 +00:00
|
|
|
mod slice;
|
2014-08-19 01:43:43 +00:00
|
|
|
mod str;
|
2018-04-05 13:55:28 +00:00
|
|
|
mod str_lossy;
|
2020-09-03 23:04:34 +00:00
|
|
|
mod task;
|
2018-05-01 11:43:05 +00:00
|
|
|
mod time;
|
2014-06-28 20:57:36 +00:00
|
|
|
mod tuple;
|
2020-11-22 08:08:04 +00:00
|
|
|
mod unicode;
|