X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc%2Flib.rs;h=1fd5bcb4915b8e62f4cc1717be258fac1af5e275;hb=f696b21c5f1017ebb451d1e9d2d8fe261b26507f;hp=8943fc342c023efa22c6b9f52919df12807e799d;hpb=fdef437372ee442ed3792410da237944a2a3cdb9;p=rust.git diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 8943fc342c0..1fd5bcb4915 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -41,8 +41,9 @@ #![feature(overlapping_marker_traits)] #![feature(extern_types)] #![feature(nll)] -#![feature(non_exhaustive)] +#![cfg_attr(bootstrap, feature(non_exhaustive))] #![feature(optin_builtin_traits)] +#![feature(option_expect_none)] #![feature(range_is_empty)] #![feature(slice_patterns)] #![feature(specialization)] @@ -125,7 +126,6 @@ pub mod util { pub mod captures; pub mod common; pub mod nodemap; - pub mod profiling; pub mod bug; }