1
Fork 0
rust/src/librustc_traits/lib.rs

41 lines
990 B
Rust
Raw Normal View History

//! New recursive solver modeled on Chalk's recursive solver. Most of
//! the guts are broken up into modules; see the comments in those modules.
#![feature(crate_visibility_modifier)]
#![feature(in_band_lifetimes)]
#![feature(nll)]
2018-03-03 06:22:19 +01:00
#![recursion_limit="256"]
extern crate chalk_engine;
#[macro_use]
extern crate log;
#[macro_use]
extern crate rustc;
extern crate rustc_data_structures;
extern crate rustc_target;
extern crate syntax;
extern crate syntax_pos;
2018-08-13 22:15:16 +03:00
extern crate smallvec;
mod chalk_context;
mod dropck_outlives;
mod evaluate_obligation;
mod implied_outlives_bounds;
mod normalize_projection_ty;
mod normalize_erasing_regions;
2018-03-14 14:45:30 +01:00
pub mod lowering;
mod type_op;
2018-06-13 16:44:43 +03:00
use rustc::ty::query::Providers;
pub fn provide(p: &mut Providers) {
2018-06-27 09:42:00 -04:00
dropck_outlives::provide(p);
evaluate_obligation::provide(p);
implied_outlives_bounds::provide(p);
2018-06-27 09:42:00 -04:00
lowering::provide(p);
normalize_projection_ty::provide(p);
normalize_erasing_regions::provide(p);
type_op::provide(p);
}