5 //! This API is completely unstable and subject to change.
7 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
8 #![feature(let_chains)]
9 #![feature(control_flow_enum)]
10 #![feature(never_type)]
11 #![feature(box_patterns)]
12 #![recursion_limit = "256"]
15 extern crate rustc_middle;
19 use rustc_middle::ty::query::Providers;
29 mod layout_sanity_check;
31 pub mod representability;
34 pub fn provide(providers: &mut Providers) {
35 abi::provide(providers);
36 assoc::provide(providers);
37 common_traits::provide(providers);
38 consts::provide(providers);
39 implied_bounds::provide(providers);
40 layout::provide(providers);
41 needs_drop::provide(providers);
42 representability::provide(providers);
43 ty::provide(providers);
44 instance::provide(providers);