]> git.lizzy.rs Git - rust.git/blob - src/librustc_borrowck/lib.rs
submodule: update rls from c9d25b667a to f331ff7
[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
9 #![recursion_limit="256"]
10
11 #[macro_use] extern crate log;
12 extern crate syntax;
13 extern crate syntax_pos;
14 extern crate rustc_errors as errors;
15 extern crate rustc_data_structures;
16
17 // for "clarity", rename the graphviz crate to dot; graphviz within `borrowck`
18 // refers to the borrowck-specific graphviz adapter traits.
19 extern crate graphviz as dot;
20 #[macro_use]
21 extern crate rustc;
22 extern crate rustc_mir;
23
24 pub use borrowck::check_crate;
25 pub use borrowck::build_borrowck_dataflow_data_for_fn;
26
27 mod borrowck;
28
29 pub mod graphviz;
30
31 mod dataflow;
32
33 pub use borrowck::provide;