]> git.lizzy.rs Git - rust.git/blob - src/libcoretest/lib.rs
Don't reborrow the target of a `write!()`
[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 #![feature(box_syntax)]
14 #![feature(int_uint)]
15 #![feature(unboxed_closures)]
16 #![feature(unsafe_destructor)]
17 #![feature(core)]
18 #![feature(test)]
19 #![feature(rand)]
20 #![feature(unicode)]
21 #![feature(std_misc)]
22 #![feature(libc)]
23 #![feature(hash)]
24 #![feature(io)]
25 #![feature(collections)]
26 #![feature(debug_builders)]
27 #![feature(unique)]
28 #![feature(step_by)]
29 #![feature(slice_patterns)]
30 #![allow(deprecated)] // rand
31
32 extern crate core;
33 extern crate test;
34 extern crate libc;
35 extern crate unicode;
36
37 mod any;
38 mod atomic;
39 mod cell;
40 mod char;
41 mod cmp;
42 mod finally;
43 mod fmt;
44 mod hash;
45 mod iter;
46 mod mem;
47 mod nonzero;
48 mod num;
49 mod ops;
50 mod option;
51 mod ptr;
52 mod result;
53 mod slice;
54 mod str;
55 mod tuple;