File tree 6 files changed +4
-27
lines changed
6 files changed +4
-27
lines changed Original file line number Diff line number Diff line change @@ -3774,19 +3774,15 @@ dependencies = [
3774
3774
name = " rustc_infer"
3775
3775
version = " 0.0.0"
3776
3776
dependencies = [
3777
- " fmt_macros" ,
3778
3777
" graphviz" ,
3779
3778
" log" ,
3780
3779
" rustc" ,
3781
3780
" rustc_ast" ,
3782
- " rustc_attr" ,
3783
3781
" rustc_data_structures" ,
3784
- " rustc_error_codes" ,
3785
3782
" rustc_errors" ,
3786
3783
" rustc_hir" ,
3787
3784
" rustc_index" ,
3788
3785
" rustc_macros" ,
3789
- " rustc_session" ,
3790
3786
" rustc_span" ,
3791
3787
" rustc_target" ,
3792
3788
" smallvec 1.0.0" ,
@@ -4044,7 +4040,6 @@ dependencies = [
4044
4040
" rustc_expand" ,
4045
4041
" rustc_feature" ,
4046
4042
" rustc_hir" ,
4047
- " rustc_infer" ,
4048
4043
" rustc_metadata" ,
4049
4044
" rustc_session" ,
4050
4045
" rustc_span" ,
@@ -4129,13 +4124,11 @@ name = "rustc_trait_selection"
4129
4124
version = " 0.0.0"
4130
4125
dependencies = [
4131
4126
" fmt_macros" ,
4132
- " graphviz" ,
4133
4127
" log" ,
4134
4128
" rustc" ,
4135
4129
" rustc_ast" ,
4136
4130
" rustc_attr" ,
4137
4131
" rustc_data_structures" ,
4138
- " rustc_error_codes" ,
4139
4132
" rustc_errors" ,
4140
4133
" rustc_hir" ,
4141
4134
" rustc_index" ,
Original file line number Diff line number Diff line change @@ -10,18 +10,14 @@ path = "lib.rs"
10
10
doctest = false
11
11
12
12
[dependencies ]
13
- fmt_macros = { path = " ../libfmt_macros" }
14
13
graphviz = { path = " ../libgraphviz" }
15
14
log = { version = " 0.4" , features = [" release_max_level_info" , " std" ] }
16
- rustc_attr = { path = " ../librustc_attr" }
17
15
rustc = { path = " ../librustc" }
18
16
rustc_data_structures = { path = " ../librustc_data_structures" }
19
17
rustc_errors = { path = " ../librustc_errors" }
20
- rustc_error_codes = { path = " ../librustc_error_codes" }
21
18
rustc_hir = { path = " ../librustc_hir" }
22
19
rustc_index = { path = " ../librustc_index" }
23
20
rustc_macros = { path = " ../librustc_macros" }
24
- rustc_session = { path = " ../librustc_session" }
25
21
rustc_span = { path = " ../librustc_span" }
26
22
rustc_target = { path = " ../librustc_target" }
27
23
smallvec = { version = " 1.0" , features = [" union" , " may_dangle" ] }
Original file line number Diff line number Diff line change 1
- //! This crates defines the trait resolution method and the type inference engine.
1
+ //! This crates defines the type inference engine.
2
2
//!
3
- //! - **Traits.** Trait resolution is implemented in the `traits` module.
4
3
//! - **Type inference.** The type inference code can be found in the `infer` module;
5
4
//! this code handles low-level equality and subtyping operations. The
6
5
//! type check pass in the compiler is found in the `librustc_typeck` crate.
17
16
#![ feature( bool_to_option) ]
18
17
#![ feature( box_patterns) ]
19
18
#![ feature( box_syntax) ]
20
- #![ feature( drain_filter) ]
21
19
#![ feature( never_type) ]
22
20
#![ feature( range_is_empty) ]
23
21
#![ feature( in_band_lifetimes) ]
24
22
#![ feature( crate_visibility_modifier) ]
25
- #![ recursion_limit = "512" ]
23
+ #![ recursion_limit = "512" ] // For rustdoc
26
24
27
25
#[ macro_use]
28
26
extern crate rustc_macros;
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ rustc_errors = { path = "../librustc_errors" }
24
24
rustc_expand = { path = " ../librustc_expand" }
25
25
rustc_feature = { path = " ../librustc_feature" }
26
26
rustc_hir = { path = " ../librustc_hir" }
27
- rustc_infer = { path = " ../librustc_infer" }
28
27
rustc_metadata = { path = " ../librustc_metadata" }
29
28
rustc_session = { path = " ../librustc_session" }
30
29
rustc_span = { path = " ../librustc_span" }
Original file line number Diff line number Diff line change @@ -11,14 +11,12 @@ doctest = false
11
11
12
12
[dependencies ]
13
13
fmt_macros = { path = " ../libfmt_macros" }
14
- graphviz = { path = " ../libgraphviz" }
15
14
log = { version = " 0.4" , features = [" release_max_level_info" , " std" ] }
16
15
rustc_attr = { path = " ../librustc_attr" }
17
16
rustc = { path = " ../librustc" }
18
17
rustc_ast = { path = " ../librustc_ast" }
19
18
rustc_data_structures = { path = " ../librustc_data_structures" }
20
19
rustc_errors = { path = " ../librustc_errors" }
21
- rustc_error_codes = { path = " ../librustc_error_codes" }
22
20
rustc_hir = { path = " ../librustc_hir" }
23
21
rustc_index = { path = " ../librustc_index" }
24
22
rustc_infer = { path = " ../librustc_infer" }
Original file line number Diff line number Diff line change 1
- //! This crates defines the trait resolution method and the type inference engine .
1
+ //! This crates defines the trait resolution method.
2
2
//!
3
3
//! - **Traits.** Trait resolution is implemented in the `traits` module.
4
- //! - **Type inference.** The type inference code can be found in the `infer` module;
5
- //! this code handles low-level equality and subtyping operations. The
6
- //! type check pass in the compiler is found in the `librustc_typeck` crate.
7
4
//!
8
5
//! For more information about how rustc works, see the [rustc guide].
9
6
//!
15
12
16
13
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
17
14
#![ feature( bool_to_option) ]
18
- #![ feature( box_patterns) ]
19
- #![ feature( box_syntax) ]
20
15
#![ feature( drain_filter) ]
21
- #![ feature( never_type) ]
22
- #![ feature( range_is_empty) ]
23
16
#![ feature( in_band_lifetimes) ]
24
17
#![ feature( crate_visibility_modifier) ]
25
- #![ recursion_limit = "512" ]
18
+ #![ recursion_limit = "512" ] // For rustdoc
26
19
27
20
#[ macro_use]
28
21
extern crate rustc_macros;
You can’t perform that action at this time.
0 commit comments