File tree 6 files changed +54
-2
lines changed
6 files changed +54
-2
lines changed Original file line number Diff line number Diff line change @@ -3642,6 +3642,7 @@ dependencies = [
3642
3642
" rustc_span" ,
3643
3643
" rustc_target" ,
3644
3644
" rustc_traits" ,
3645
+ " rustc_ty" ,
3645
3646
" rustc_typeck" ,
3646
3647
" serialize" ,
3647
3648
" smallvec 1.0.0" ,
@@ -3918,6 +3919,17 @@ dependencies = [
3918
3919
" syntax" ,
3919
3920
]
3920
3921
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
+
3921
3933
[[package ]]
3922
3934
name = " rustc_typeck"
3923
3935
version = " 0.0.0"
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ rustc_errors = { path = "../librustc_errors" }
39
39
rustc_plugin_impl = { path = " ../librustc_plugin_impl" }
40
40
rustc_privacy = { path = " ../librustc_privacy" }
41
41
rustc_resolve = { path = " ../librustc_resolve" }
42
+ rustc_ty = { path = " ../librustc_ty" }
42
43
tempfile = " 3.0.5"
43
44
once_cell = " 1"
44
45
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ pub mod loops;
31
31
mod reachable;
32
32
mod region;
33
33
pub mod stability;
34
- mod ty;
35
34
36
35
pub fn provide ( providers : & mut Providers < ' _ > ) {
37
36
check_const:: provide ( providers) ;
@@ -44,5 +43,4 @@ pub fn provide(providers: &mut Providers<'_>) {
44
43
reachable:: provide ( providers) ;
45
44
region:: provide ( providers) ;
46
45
stability:: provide ( providers) ;
47
- ty:: provide ( providers) ;
48
46
}
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