]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_ty_utils/src/lib.rs
Add back missing doc
[rust.git] / compiler / rustc_ty_utils / src / lib.rs
1 //! Various checks
2 //!
3 //! # Note
4 //!
5 //! This API is completely unstable and subject to change.
6
7 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
8 #![feature(half_open_range_patterns)]
9 #![feature(exclusive_range_pattern)]
10 #![feature(nll)]
11 #![recursion_limit = "256"]
12
13 #[macro_use]
14 extern crate rustc_middle;
15 #[macro_use]
16 extern crate tracing;
17
18 use rustc_middle::ty::query::Providers;
19
20 mod common_traits;
21 pub mod instance;
22 mod needs_drop;
23 pub mod representability;
24 mod ty;
25
26 pub fn provide(providers: &mut Providers) {
27     common_traits::provide(providers);
28     needs_drop::provide(providers);
29     ty::provide(providers);
30     instance::provide(providers);
31 }