]> git.lizzy.rs Git - rust.git/blob - src/librustc_traits/lib.rs
Rollup merge of #61453 - lzutao:nouse-featuregate-integer_atomics, r=sfackler
[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 #![deny(rust_2018_idioms)]
5 #![deny(internal)]
6
7 #![feature(crate_visibility_modifier)]
8 #![feature(in_band_lifetimes)]
9 #![feature(nll)]
10
11 #![recursion_limit="256"]
12
13 #[macro_use]
14 extern crate log;
15 #[macro_use]
16 extern crate rustc;
17
18 mod chalk_context;
19 mod dropck_outlives;
20 mod evaluate_obligation;
21 mod implied_outlives_bounds;
22 mod normalize_projection_ty;
23 mod normalize_erasing_regions;
24 pub mod lowering;
25 mod generic_types;
26 mod type_op;
27
28 use rustc::ty::query::Providers;
29
30 pub fn provide(p: &mut Providers<'_>) {
31     dropck_outlives::provide(p);
32     evaluate_obligation::provide(p);
33     implied_outlives_bounds::provide(p);
34     lowering::provide(p);
35     chalk_context::provide(p);
36     normalize_projection_ty::provide(p);
37     normalize_erasing_regions::provide(p);
38     type_op::provide(p);
39 }