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(control_flow_enum)]
10 #![feature(never_type)]
11 #![feature(box_patterns)]
12 #![recursion_limit = "256"]
13 #![deny(rustc::untranslatable_diagnostic)]
14 #![deny(rustc::diagnostic_outside_of_impl)]
17 extern crate rustc_middle;
21 use rustc_middle::ty::query::Providers;
30 pub mod representability;
33 pub fn provide(providers: &mut Providers) {
34 assoc::provide(providers);
35 common_traits::provide(providers);
36 consts::provide(providers);
37 implied_bounds::provide(providers);
38 needs_drop::provide(providers);
39 ty::provide(providers);
40 instance::provide(providers);