X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_passes%2Flib.rs;h=d746f097928eaaccfe5ae29ab717f3e04ec3a7c5;hb=e7752aefdc0765f9350cbe5d563d6f46f9045e26;hp=8bd06465628fa61c0c0933469ecc9d3eb8816ef3;hpb=6d5170c960d1cf0ad1137bbf65e4d1c992cc21fe;p=rust.git diff --git a/src/librustc_passes/lib.rs b/src/librustc_passes/lib.rs index 8bd06465628..d746f097928 100644 --- a/src/librustc_passes/lib.rs +++ b/src/librustc_passes/lib.rs @@ -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); }