10
10
#![allow(internal_features)]
11
11
#![allow(rustc::default_hash_types)]
12
12
#![allow(rustc::potential_query_instability)]
13
- #![ cfg_attr( bootstrap, feature( cfg_match) ) ]
14
- #![ cfg_attr( not( bootstrap) , feature( cfg_select) ) ]
15
- #![ cfg_attr( not( bootstrap) , feature( sized_hierarchy) ) ]
16
13
#![deny(unsafe_op_in_unsafe_fn)]
17
14
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
18
15
#![doc(rust_logo)]
22
19
#![feature(ascii_char_variants)]
23
20
#![feature(assert_matches)]
24
21
#![feature(auto_traits)]
22
+ #![feature(cfg_select)]
25
23
#![feature(core_intrinsics)]
26
24
#![feature(dropck_eyepatch)]
27
25
#![feature(extend_one)]
33
31
#![feature(ptr_alignment_type)]
34
32
#![feature(rustc_attrs)]
35
33
#![feature(rustdoc_internals)]
34
+ #![feature(sized_hierarchy)]
36
35
#![feature(test)]
37
36
#![feature(thread_id_value)]
38
37
#![feature(type_alias_impl_trait)]
@@ -44,9 +43,6 @@ use std::fmt;
44
43
pub use atomic_ref::AtomicRef;
45
44
pub use ena::{snapshot_vec, undo_log, unify};
46
45
pub use rustc_index::static_assert_size;
47
- // re-exported for `rustc_smir`
48
- // FIXME(sized_hierarchy): remove with `cfg(bootstrap)`, see `rustc_serialize/src/lib.rs`
49
- pub use rustc_serialize:: PointeeSized ;
50
46
51
47
pub mod aligned;
52
48
pub mod base_n;
0 commit comments