]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_incremental/lib.rs
New upstream version 1.35.0+dfsg1
[rustc.git] / src / librustc_incremental / lib.rs
index 346ddaa485804c9914f8cc6fe5c930bf76a36d42..d7db324f3463efa9b723295a2c9c7ae8c0477baf 100644 (file)
@@ -8,6 +8,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[macro_use] extern crate rustc;
 #[allow(unused_extern_crates)]
@@ -21,7 +22,7 @@ mod persist;
 
 pub use assert_dep_graph::assert_dep_graph;
 pub use persist::dep_graph_tcx_init;
-pub use persist::load_dep_graph;
+pub use persist::{DepGraphFuture, load_dep_graph};
 pub use persist::load_query_result_cache;
 pub use persist::LoadResult;
 pub use persist::copy_cgu_workproducts_to_incr_comp_cache_dir;