rust/library/core/tests/lib.rs

120 lines
2.7 KiB
Rust
Raw Normal View History

#![feature(alloc_layout_extra)]
2020-05-18 21:24:37 +02:00
#![feature(array_chunks)]
2020-09-22 21:35:43 +02:00
#![feature(array_from_ref)]
#![feature(array_methods)]
#![feature(array_map)]
#![feature(array_windows)]
2019-09-07 16:49:27 +02:00
#![feature(bool_to_option)]
2019-06-02 07:39:13 +02:00
#![feature(bound_cloned)]
2015-01-08 03:53:58 +01:00
#![feature(box_syntax)]
2018-04-06 22:45:31 +02:00
#![feature(cell_update)]
2020-12-01 07:24:04 +01:00
#![feature(cfg_panic)]
#![feature(cfg_target_has_atomic)]
#![feature(const_assume)]
#![feature(const_cell_into_inner)]
2020-12-05 19:37:03 +01:00
#![feature(const_maybe_uninit_assume_init)]
2020-12-26 01:59:08 +01:00
#![feature(const_ptr_read)]
#![feature(const_ptr_offset)]
#![feature(core_intrinsics)]
#![feature(core_private_bignum)]
#![feature(core_private_diy_float)]
#![feature(debug_non_exhaustive)]
#![feature(dec2flt)]
#![feature(div_duration)]
#![feature(duration_consts_2)]
2020-08-30 19:31:34 +02:00
#![feature(duration_constants)]
#![feature(duration_saturating_ops)]
#![feature(duration_zero)]
2017-07-06 17:13:29 +02:00
#![feature(exact_size_is_empty)]
#![feature(fixed_size_array)]
#![feature(flt2dec)]
2017-03-17 15:05:44 +01:00
#![feature(fmt_internals)]
#![feature(hashmap_internals)]
2019-08-06 13:13:13 +02:00
#![feature(try_find)]
#![feature(is_sorted)]
2017-12-17 23:44:03 +01:00
#![feature(pattern)]
#![feature(raw)]
2017-03-21 02:38:03 +01:00
#![feature(sort_internals)]
#![feature(slice_partition_at_index)]
#![feature(maybe_uninit_uninit_array)]
#![feature(maybe_uninit_array_assume_init)]
2020-12-26 01:59:08 +01:00
#![feature(maybe_uninit_extra)]
2020-12-01 07:24:04 +01:00
#![feature(maybe_uninit_write_slice)]
2020-06-16 13:07:15 +02:00
#![feature(min_specialization)]
#![feature(step_trait)]
2020-02-18 19:18:33 +01:00
#![feature(step_trait_ext)]
2018-04-05 15:55:28 +02:00
#![feature(str_internals)]
#![feature(test)]
#![feature(trusted_len)]
#![feature(try_trait)]
#![feature(slice_internals)]
#![feature(slice_partition_dedup)]
2019-02-28 14:47:32 +01:00
#![feature(int_error_matching)]
#![feature(array_value_iter)]
2020-09-19 10:26:46 +02:00
#![feature(iter_advance_by)]
#![feature(iter_partition_in_place)]
2020-08-21 21:56:40 +02:00
#![feature(iter_intersperse)]
#![feature(iter_is_partitioned)]
#![feature(iter_order_by)]
#![feature(cmp_min_max_by)]
#![feature(iter_map_while)]
#![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_unwrap_none)]
#![feature(peekable_next_if)]
2020-11-23 23:52:19 +01:00
#![feature(peekable_peek_mut)]
2020-06-22 14:36:35 +02:00
#![feature(partition_point)]
#![feature(once_cell)]
2020-06-24 13:15:37 +02:00
#![feature(unsafe_block_in_unsafe_fn)]
#![feature(int_bits_const)]
#![feature(nonzero_leading_trailing_zeros)]
#![feature(const_option)]
#![feature(integer_atomics)]
#![feature(slice_group_by)]
#![feature(trusted_random_access)]
2020-06-24 13:15:37 +02:00
#![deny(unsafe_op_in_unsafe_fn)]
extern crate test;
mod alloc;
mod any;
mod array;
2018-03-09 04:55:54 +01:00
mod ascii;
mod atomic;
2019-09-07 16:49:27 +02:00
mod bool;
mod cell;
mod char;
2015-10-15 21:07:20 +02:00
mod clone;
mod cmp;
2020-12-26 01:59:08 +01:00
#[cfg(not(bootstrap))]
mod const_ptr;
mod fmt;
mod hash;
2015-10-15 21:07:20 +02:00
mod intrinsics;
mod iter;
mod lazy;
mod macros;
2018-07-27 12:12:55 +02:00
mod manually_drop;
mod mem;
2014-12-23 21:52:02 +01:00
mod nonzero;
mod num;
mod ops;
mod option;
2017-12-17 23:44:03 +01:00
mod pattern;
mod pin;
mod ptr;
mod result;
mod slice;
2014-08-19 03:43:43 +02:00
mod str;
2018-04-05 15:55:28 +02:00
mod str_lossy;
mod task;
mod time;
mod tuple;
mod unicode;