]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_borrowck/lib.rs
Register new snapshots
[rust.git] / src / librustc_borrowck / lib.rs
index 302e62d81dd679e5d9f186b7b0716a449ec015d9..0e1102bd77e0276bc09954045fe2c87d16124151 100644 (file)
@@ -8,11 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
-#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "rustc_borrowck"]
-#![unstable(feature = "rustc_private")]
-#![staged_api]
+#![unstable(feature = "rustc_private", issue = "27812")]
 #![crate_type = "dylib"]
 #![crate_type = "rlib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
 // refers to the borrowck-specific graphviz adapter traits.
 extern crate graphviz as dot;
 extern crate rustc;
+extern crate rustc_front;
 
 pub use borrowck::check_crate;
 pub use borrowck::build_borrowck_dataflow_data_for_fn;
-pub use borrowck::FnPartsWithCFG;
+pub use borrowck::{AnalysisData, BorrowckCtxt};
 
 // NB: This module needs to be declared first so diagnostics are
 // registered before they are used.