]> git.lizzy.rs Git - rust.git/blob - src/librustc_traits/lib.rs
Remove lint annotations in specific crates that are already enforced by rustbuild
[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(unused_lifetimes)]
5
6 #![feature(crate_visibility_modifier)]
7 #![feature(in_band_lifetimes)]
8 #![feature(nll)]
9
10 #![recursion_limit="256"]
11
12 #[macro_use]
13 extern crate log;
14 #[macro_use]
15 extern crate rustc;
16
17 mod chalk_context;
18 mod dropck_outlives;
19 mod evaluate_obligation;
20 mod implied_outlives_bounds;
21 mod normalize_projection_ty;
22 mod normalize_erasing_regions;
23 pub mod lowering;
24 mod generic_types;
25 mod type_op;
26
27 use rustc::ty::query::Providers;
28
29 pub fn provide(p: &mut Providers<'_>) {
30     dropck_outlives::provide(p);
31     evaluate_obligation::provide(p);
32     implied_outlives_bounds::provide(p);
33     lowering::provide(p);
34     chalk_context::provide(p);
35     normalize_projection_ty::provide(p);
36     normalize_erasing_regions::provide(p);
37     type_op::provide(p);
38 }