]> git.lizzy.rs Git - rust.git/blob - src/librustc_traits/lib.rs
Allow a dirty MirBuilt for make_extern and make_method_extern
[rust.git] / src / librustc_traits / lib.rs
1 //! New recursive solver modeled on Chalk's recursive solver. Most of
2 //! the guts are broken up into modules; see the comments in those modules.
3
4 #![feature(crate_visibility_modifier)]
5 #![feature(in_band_lifetimes)]
6 #![feature(nll)]
7
8 #![recursion_limit="256"]
9
10 extern crate chalk_engine;
11 #[macro_use]
12 extern crate log;
13 #[macro_use]
14 extern crate rustc;
15 extern crate rustc_data_structures;
16 extern crate rustc_target;
17 extern crate syntax;
18 extern crate syntax_pos;
19 extern crate smallvec;
20
21 mod chalk_context;
22 mod dropck_outlives;
23 mod evaluate_obligation;
24 mod implied_outlives_bounds;
25 mod normalize_projection_ty;
26 mod normalize_erasing_regions;
27 pub mod lowering;
28 mod generic_types;
29 mod type_op;
30
31 use rustc::ty::query::Providers;
32
33 pub fn provide(p: &mut Providers) {
34     dropck_outlives::provide(p);
35     evaluate_obligation::provide(p);
36     implied_outlives_bounds::provide(p);
37     lowering::provide(p);
38     chalk_context::provide(p);
39     normalize_projection_ty::provide(p);
40     normalize_erasing_regions::provide(p);
41     type_op::provide(p);
42 }