]> git.lizzy.rs Git - rust.git/blob - src/librustc_borrowck/lib.rs
Rollup merge of #57368 - petrhosek:cmake-compiler-launcher, r=alexcrichton
[rust.git] / src / librustc_borrowck / lib.rs
1 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
3       html_root_url = "https://doc.rust-lang.org/nightly/")]
4
5 #![allow(non_camel_case_types)]
6
7 #![feature(nll)]
8 #![feature(quote)]
9
10 #![recursion_limit="256"]
11
12 #[macro_use] extern crate log;
13 extern crate syntax;
14 extern crate syntax_pos;
15 extern crate rustc_errors as errors;
16 extern crate rustc_data_structures;
17
18 // for "clarity", rename the graphviz crate to dot; graphviz within `borrowck`
19 // refers to the borrowck-specific graphviz adapter traits.
20 extern crate graphviz as dot;
21 #[macro_use]
22 extern crate rustc;
23 extern crate rustc_mir;
24
25 pub use borrowck::check_crate;
26 pub use borrowck::build_borrowck_dataflow_data_for_fn;
27
28 mod borrowck;
29
30 pub mod graphviz;
31
32 mod dataflow;
33
34 pub use borrowck::provide;