]> git.lizzy.rs Git - rust.git/blob - src/libcoretest/lib.rs
Auto merge of #26261 - tshepang:more-brief-example, r=huonw
[rust.git] / src / libcoretest / lib.rs
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 // Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
12 #![cfg_attr(stage0, feature(custom_attribute))]
13
14 #![feature(box_syntax)]
15 #![feature(unboxed_closures)]
16 #![feature(core)]
17 #![feature(const_fn)]
18 #![feature(test)]
19 #![feature(rand)]
20 #![feature(unicode)]
21 #![feature(std_misc)]
22 #![feature(libc)]
23 #![feature(hash)]
24 #![feature(unique)]
25 #![feature(step_by)]
26 #![feature(slice_patterns)]
27 #![feature(float_from_str_radix)]
28 #![feature(cell_extras)]
29 #![feature(iter_empty)]
30 #![feature(iter_once)]
31 #![feature(result_expect)]
32
33 extern crate core;
34 extern crate test;
35 extern crate libc;
36 extern crate rustc_unicode;
37 extern crate rand;
38
39 mod any;
40 mod atomic;
41 mod cell;
42 mod char;
43 mod cmp;
44 mod fmt;
45 mod hash;
46 mod iter;
47 mod mem;
48 mod nonzero;
49 mod num;
50 mod ops;
51 mod option;
52 mod ptr;
53 mod result;
54 mod slice;
55 mod str;
56 mod tuple;