rust/library/core/tests/lib.rs

112 lines
2.5 KiB
Rust
Raw Normal View History

#![feature(alloc_layout_extra)]
2020-05-18 14:24:37 -05:00
#![feature(array_chunks)]
#![feature(array_methods)]
#![feature(array_windows)]
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)]
2020-12-01 00:24:04 -06:00
#![feature(cfg_panic)]
#![feature(cfg_target_has_atomic)]
#![feature(const_assume)]
#![feature(const_cell_into_inner)]
2020-12-05 12:37:03 -06:00
#![feature(const_maybe_uninit_assume_init)]
#![cfg_attr(bootstrap, feature(const_panic))]
2020-12-25 18:59:08 -06:00
#![feature(const_ptr_read)]
#![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)]
#![feature(const_num_from_num)]
#![feature(core_intrinsics)]
#![feature(core_private_bignum)]
#![feature(core_private_diy_float)]
#![feature(dec2flt)]
#![feature(div_duration)]
#![feature(duration_consts_2)]
2020-08-30 12:31:34 -05:00
#![feature(duration_constants)]
2017-07-06 10:13:29 -05:00
#![feature(exact_size_is_empty)]
#![feature(extern_types)]
#![feature(flt2dec)]
2017-03-17 09:05:44 -05:00
#![feature(fmt_internals)]
#![feature(array_from_fn)]
#![feature(hashmap_internals)]
2019-08-06 06:13:13 -05:00
#![feature(try_find)]
#![feature(is_sorted)]
2017-12-17 16:44:03 -06:00
#![feature(pattern)]
2017-03-20 20:38:03 -05:00
#![feature(sort_internals)]
#![feature(slice_partition_at_index)]
#![feature(maybe_uninit_uninit_array)]
#![feature(maybe_uninit_array_assume_init)]
2020-12-25 18:59:08 -06:00
#![feature(maybe_uninit_extra)]
2020-12-01 00:24:04 -06:00
#![feature(maybe_uninit_write_slice)]
2020-06-16 06:07:15 -05:00
#![feature(min_specialization)]
#![feature(numfmt)]
#![feature(step_trait)]
2018-04-05 08:55:28 -05:00
#![feature(str_internals)]
#![feature(test)]
#![feature(trusted_len)]
2021-04-15 03:13:39 -05:00
#![feature(try_trait_v2)]
#![feature(slice_internals)]
#![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)]
#![feature(iter_partition_in_place)]
#![feature(iter_intersperse)]
#![feature(iter_is_partitioned)]
#![feature(iter_order_by)]
#![feature(const_mut_refs)]
#![feature(const_pin)]
#![feature(const_slice_from_raw_parts)]
#![feature(const_raw_ptr_deref)]
#![feature(never_type)]
#![feature(unwrap_infallible)]
#![feature(option_result_unwrap_unchecked)]
#![feature(result_into_ok_or_err)]
2021-03-26 15:10:21 -05:00
#![feature(ptr_metadata)]
#![feature(once_cell)]
#![feature(unsized_tuple_coercion)]
#![feature(const_option)]
#![feature(integer_atomics)]
2021-09-02 00:28:47 -05:00
#![feature(int_roundings)]
#![feature(slice_group_by)]
#![feature(trusted_random_access)]
2021-03-26 15:10:21 -05:00
#![feature(unsize)]
#![feature(unzip_option)]
#![deny(unsafe_op_in_unsafe_fn)]
extern crate test;
mod alloc;
mod any;
mod array;
2018-03-08 21:55:54 -06:00
mod ascii;
mod atomic;
2019-09-07 09:49:27 -05:00
mod bool;
mod cell;
mod char;
2015-10-15 14:07:20 -05:00
mod clone;
mod cmp;
2020-12-25 18:59:08 -06:00
mod const_ptr;
mod fmt;
mod hash;
2015-10-15 14:07:20 -05:00
mod intrinsics;
mod iter;
mod lazy;
mod macros;
2018-07-27 05:12:55 -05:00
mod manually_drop;
mod mem;
2014-12-23 14:52:02 -06:00
mod nonzero;
mod num;
mod ops;
mod option;
2017-12-17 16:44:03 -06:00
mod pattern;
mod pin;
mod ptr;
mod result;
mod slice;
2014-08-18 20:43:43 -05:00
mod str;
2018-04-05 08:55:28 -05:00
mod str_lossy;
mod task;
mod time;
mod tuple;
mod unicode;