]> git.proxmox.com Git - rustc.git/blame - src/librustc_data_structures/lib.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / librustc_data_structures / lib.rs
CommitLineData
d9579d0f
AL
1// Copyright 2015 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//! Various data structures used by the Rust compiler. The intention
12//! is that code in here should be not be *specific* to rustc, so that
13//! it can be easily unit tested and so forth.
14//!
15//! # Note
16//!
17//! This API is completely unstable and subject to change.
18
d9579d0f 19#![crate_name = "rustc_data_structures"]
e9174d1e 20#![unstable(feature = "rustc_private", issue = "27812")]
d9579d0f
AL
21#![crate_type = "dylib"]
22#![crate_type = "rlib"]
e9174d1e
SL
23#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
24 html_favicon_url = "https://www.rust-lang.org/favicon.ico",
25 html_root_url = "https://doc.rust-lang.org/nightly/")]
7453a54e 26#![cfg_attr(not(stage0), deny(warnings))]
d9579d0f 27
7453a54e
SL
28#![feature(nonzero)]
29#![feature(rustc_private)]
30#![feature(staged_api)]
a7813a04
XL
31#![feature(unboxed_closures)]
32#![feature(fn_traits)]
e9174d1e 33
9e0c209e 34#![cfg_attr(unix, feature(libc))]
d9579d0f
AL
35#![cfg_attr(test, feature(test))]
36
7453a54e 37extern crate core;
54a0048b
SL
38#[macro_use]
39extern crate log;
d9579d0f 40extern crate serialize as rustc_serialize; // used by deriving
9e0c209e
SL
41#[cfg(unix)]
42extern crate libc;
d9579d0f 43
d9579d0f 44pub mod bitvec;
e9174d1e
SL
45pub mod graph;
46pub mod ivar;
3157f602 47pub mod indexed_vec;
7453a54e 48pub mod obligation_forest;
3157f602 49pub mod snapshot_map;
e9174d1e
SL
50pub mod snapshot_vec;
51pub mod transitive_relation;
d9579d0f 52pub mod unify;
e9174d1e 53pub mod fnv;
9cc50fc6
SL
54pub mod tuple_slice;
55pub mod veccell;
3157f602 56pub mod control_flow_graph;
9e0c209e 57pub mod flock;
e9174d1e
SL
58
59// See comments in src/librustc/lib.rs
60#[doc(hidden)]
61pub fn __noop_fix_for_27438() {}