29 lines
548 B
Rust
Raw Normal View History

2020-01-13 13:40:30 +01:00
//! Various checks
//!
//! # Note
//!
//! This API is completely unstable and subject to change.
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![feature(bool_to_option)]
#![feature(nll)]
#![recursion_limit = "256"]
#[macro_use]
extern crate rustc;
#[macro_use]
extern crate log;
use rustc::ty::query::Providers;
mod common_traits;
2020-02-12 17:24:32 +01:00
pub mod instance;
mod needs_drop;
2020-01-13 13:40:30 +01:00
mod ty;
pub fn provide(providers: &mut Providers<'_>) {
common_traits::provide(providers);
needs_drop::provide(providers);
2020-01-13 13:40:30 +01:00
ty::provide(providers);
}