File tree Expand file tree Collapse file tree 6 files changed +54
-2
lines changed Expand file tree Collapse file tree 6 files changed +54
-2
lines changed Original file line number Diff line number Diff line change @@ -3642,6 +3642,7 @@ dependencies = [
36423642 " rustc_span" ,
36433643 " rustc_target" ,
36443644 " rustc_traits" ,
3645+ " rustc_ty" ,
36453646 " rustc_typeck" ,
36463647 " serialize" ,
36473648 " smallvec 1.0.0" ,
@@ -3918,6 +3919,17 @@ dependencies = [
39183919 " syntax" ,
39193920]
39203921
3922+ [[package ]]
3923+ name = " rustc_ty"
3924+ version = " 0.0.0"
3925+ dependencies = [
3926+ " log" ,
3927+ " rustc" ,
3928+ " rustc_data_structures" ,
3929+ " rustc_hir" ,
3930+ " rustc_span" ,
3931+ ]
3932+
39213933[[package ]]
39223934name = " rustc_typeck"
39233935version = " 0.0.0"
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ rustc_errors = { path = "../librustc_errors" }
3939rustc_plugin_impl = { path = " ../librustc_plugin_impl" }
4040rustc_privacy = { path = " ../librustc_privacy" }
4141rustc_resolve = { path = " ../librustc_resolve" }
42+ rustc_ty = { path = " ../librustc_ty" }
4243tempfile = " 3.0.5"
4344once_cell = " 1"
4445
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ pub mod loops;
3131mod reachable;
3232mod region;
3333pub mod stability;
34- mod ty;
3534
3635pub fn provide ( providers : & mut Providers < ' _ > ) {
3736 check_const:: provide ( providers) ;
@@ -44,5 +43,4 @@ pub fn provide(providers: &mut Providers<'_>) {
4443 reachable:: provide ( providers) ;
4544 region:: provide ( providers) ;
4645 stability:: provide ( providers) ;
47- ty:: provide ( providers) ;
4846}
Original file line number Diff line number Diff line change 1+ [package ]
2+ authors = [" The Rust Project Developers" ]
3+ name = " rustc_ty"
4+ version = " 0.0.0"
5+ edition = " 2018"
6+
7+ [lib ]
8+ name = " rustc_ty"
9+ path = " lib.rs"
10+
11+ [dependencies ]
12+ log = " 0.4"
13+ rustc = { path = " ../librustc" }
14+ rustc_data_structures = { path = " ../librustc_data_structures" }
15+ rustc_hir = { path = " ../librustc_hir" }
16+ rustc_span = { path = " ../librustc_span" }
Original file line number Diff line number Diff line change 1+ //! Various checks
2+ //!
3+ //! # Note
4+ //!
5+ //! This API is completely unstable and subject to change.
6+
7+ #![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
8+ #![ feature( bool_to_option) ]
9+ #![ feature( in_band_lifetimes) ]
10+ #![ feature( nll) ]
11+ #![ feature( slice_patterns) ]
12+ #![ recursion_limit = "256" ]
13+
14+ #[ macro_use]
15+ extern crate rustc;
16+ #[ macro_use]
17+ extern crate log;
18+
19+ use rustc:: ty:: query:: Providers ;
20+
21+ mod ty;
22+
23+ pub fn provide ( providers : & mut Providers < ' _ > ) {
24+ ty:: provide ( providers) ;
25+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments