2018-02-25 10:58:54 -05:00
|
|
|
//! 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)]
|
2018-05-08 18:15:48 -03:00
|
|
|
#![feature(in_band_lifetimes)]
|
2018-09-26 14:26:46 -07:00
|
|
|
#![feature(nll)]
|
2018-02-25 10:58:54 -05:00
|
|
|
|
2018-03-03 06:22:19 +01:00
|
|
|
#![recursion_limit="256"]
|
|
|
|
|
2018-05-08 18:15:48 -03:00
|
|
|
extern crate chalk_engine;
|
2018-02-25 10:58:54 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
2018-02-21 11:24:13 -05:00
|
|
|
#[macro_use]
|
2018-02-25 10:58:54 -05:00
|
|
|
extern crate rustc;
|
|
|
|
extern crate rustc_data_structures;
|
2018-10-31 22:07:54 +01:00
|
|
|
extern crate rustc_target;
|
2018-02-25 10:58:54 -05:00
|
|
|
extern crate syntax;
|
|
|
|
extern crate syntax_pos;
|
2018-08-13 22:15:16 +03:00
|
|
|
extern crate smallvec;
|
2018-02-25 10:58:54 -05:00
|
|
|
|
2018-05-08 18:15:48 -03:00
|
|
|
mod chalk_context;
|
2018-02-21 10:55:16 -05:00
|
|
|
mod dropck_outlives;
|
2018-03-08 18:30:37 -06:00
|
|
|
mod evaluate_obligation;
|
2018-07-04 13:07:45 -05:00
|
|
|
mod implied_outlives_bounds;
|
2018-02-25 10:58:54 -05:00
|
|
|
mod normalize_projection_ty;
|
2018-02-21 11:24:13 -05:00
|
|
|
mod normalize_erasing_regions;
|
2018-03-14 14:45:30 +01:00
|
|
|
pub mod lowering;
|
2018-06-27 06:53:23 -04:00
|
|
|
mod type_op;
|
2018-02-25 10:58:54 -05:00
|
|
|
|
2018-06-13 16:44:43 +03:00
|
|
|
use rustc::ty::query::Providers;
|
2018-02-25 10:58:54 -05:00
|
|
|
|
|
|
|
pub fn provide(p: &mut Providers) {
|
2018-06-27 09:42:00 -04:00
|
|
|
dropck_outlives::provide(p);
|
|
|
|
evaluate_obligation::provide(p);
|
2018-07-04 13:07:45 -05:00
|
|
|
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);
|
2018-02-25 10:58:54 -05:00
|
|
|
}
|