rust/library/core/tests/lib.rs

132 lines
3.0 KiB
Rust
Raw Normal View History

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