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(never_type)]
10 #![feature(box_patterns)]
11 #![recursion_limit = "256"]
14 extern crate rustc_middle
;
18 use rustc_errors
::{DiagnosticMessage, SubdiagnosticMessage}
;
19 use rustc_macros
::fluent_messages
;
20 use rustc_middle
::ty
::query
::Providers
;
30 mod layout_sanity_check
;
32 pub mod representability
;
36 fluent_messages
! { "../locales/en-US.ftl" }
38 pub fn provide(providers
: &mut Providers
) {
39 abi
::provide(providers
);
40 assoc
::provide(providers
);
41 common_traits
::provide(providers
);
42 consts
::provide(providers
);
43 implied_bounds
::provide(providers
);
44 layout
::provide(providers
);
45 needs_drop
::provide(providers
);
46 representability
::provide(providers
);
47 ty
::provide(providers
);
48 instance
::provide(providers
);
49 structural_match
::provide(providers
);