]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_passes/lib.rs
Rollup merge of #68469 - ollie27:skip_count, r=sfackler
[rust.git] / src / librustc_passes / lib.rs
index 8bd06465628fa61c0c0933469ecc9d3eb8816ef3..d746f097928eaaccfe5ae29ab717f3e04ec3a7c5 100644 (file)
@@ -5,10 +5,9 @@
 //! This API is completely unstable and subject to change.
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
-#![feature(bool_to_option)]
 #![feature(in_band_lifetimes)]
 #![feature(nll)]
-#![feature(slice_patterns)]
+#![cfg_attr(bootstrap, feature(slice_patterns))]
 #![recursion_limit = "256"]
 
 #[macro_use]
@@ -31,7 +30,6 @@
 mod reachable;
 mod region;
 pub mod stability;
-mod ty;
 
 pub fn provide(providers: &mut Providers<'_>) {
     check_const::provide(providers);
@@ -44,5 +42,4 @@ pub fn provide(providers: &mut Providers<'_>) {
     reachable::provide(providers);
     region::provide(providers);
     stability::provide(providers);
-    ty::provide(providers);
 }