]> git.lizzy.rs Git - rust.git/blob - src/librustc_borrowck/lib.rs
Incorporate a stray test
[rust.git] / src / librustc_borrowck / lib.rs
1 // Copyright 2012-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 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
12       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
13       html_root_url = "https://doc.rust-lang.org/nightly/")]
14
15 #![allow(non_camel_case_types)]
16 #![deny(bare_trait_objects)]
17
18 #![feature(from_ref)]
19 #![feature(quote)]
20
21 #![recursion_limit="256"]
22
23 #[macro_use] extern crate log;
24 extern crate syntax;
25 extern crate syntax_pos;
26 extern crate rustc_errors as errors;
27 extern crate rustc_data_structures;
28
29 // for "clarity", rename the graphviz crate to dot; graphviz within `borrowck`
30 // refers to the borrowck-specific graphviz adapter traits.
31 extern crate graphviz as dot;
32 #[macro_use]
33 extern crate rustc;
34 extern crate rustc_mir;
35
36 pub use borrowck::check_crate;
37 pub use borrowck::build_borrowck_dataflow_data_for_fn;
38
39 mod borrowck;
40
41 pub mod graphviz;
42
43 pub use borrowck::provide;