]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_ty/src/lib.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / compiler / rustc_ty / 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(nll)]
9 #![recursion_limit = "256"]
10
11 #[macro_use]
12 extern crate rustc_middle;
13 #[macro_use]
14 extern crate tracing;
15
16 use rustc_middle::ty::query::Providers;
17
18 mod common_traits;
19 pub mod instance;
20 mod needs_drop;
21 mod ty;
22
23 pub fn provide(providers: &mut Providers) {
24 common_traits::provide(providers);
25 needs_drop::provide(providers);
26 ty::provide(providers);
27 instance::provide(providers);
28 }