Commit a643ee8
committed
Auto merge of rust-lang#67953 - cjgillot:split_infer, r=Zoxc
Split librustc::{traits,infer} to a separate crate rustc_infer
This is still very much work in progress.
Three functions are between dimensions (at the end of `rustc::traits`), waiting for some dependency breaking scheme.
Please tell me if the approach seems sound, and how you would like to split this PR up.
The formatting is deliberately off, to ease rebasing.
cc rust-lang#65031File tree
177 files changed
+8532
-8353
lines changed- src
- librustc_infer
- infer
- canonical
- error_reporting
- nice_region_error
- higher_ranked
- lexical_region_resolve
- nll_relate
- opaque_types
- outlives
- region_constraints
- traits
- codegen
- error_reporting
- query
- type_op
- specialize
- librustc_interface
- librustc_lint
- librustc_mir_build
- build
- hair
- cx
- pattern
- librustc_mir
- borrow_check
- diagnostics
- region_infer
- type_check
- liveness
- transform
- check_consts
- librustc_passes
- librustc_resolve
- librustc_traits
- chalk_context
- librustc_typeck
- check
- method
- coherence
- collect
- librustc_ty
- librustc
- infer
- types
- traits
- types
- ty/query
- librustdoc
- clean
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
177 files changed
+8532
-8353
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3111 | 3111 | | |
3112 | 3112 | | |
3113 | 3113 | | |
3114 | | - | |
3115 | | - | |
3116 | 3114 | | |
3117 | 3115 | | |
3118 | 3116 | | |
| |||
3776 | 3774 | | |
3777 | 3775 | | |
3778 | 3776 | | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
3779 | 3799 | | |
3780 | 3800 | | |
3781 | 3801 | | |
| |||
3796 | 3816 | | |
3797 | 3817 | | |
3798 | 3818 | | |
| 3819 | + | |
3799 | 3820 | | |
3800 | 3821 | | |
3801 | 3822 | | |
| |||
3838 | 3859 | | |
3839 | 3860 | | |
3840 | 3861 | | |
| 3862 | + | |
3841 | 3863 | | |
3842 | 3864 | | |
3843 | 3865 | | |
| |||
3907 | 3929 | | |
3908 | 3930 | | |
3909 | 3931 | | |
| 3932 | + | |
3910 | 3933 | | |
3911 | 3934 | | |
3912 | 3935 | | |
| |||
3929 | 3952 | | |
3930 | 3953 | | |
3931 | 3954 | | |
| 3955 | + | |
3932 | 3956 | | |
3933 | 3957 | | |
3934 | 3958 | | |
| |||
3969 | 3993 | | |
3970 | 3994 | | |
3971 | 3995 | | |
| 3996 | + | |
3972 | 3997 | | |
3973 | 3998 | | |
3974 | 3999 | | |
| |||
4019 | 4044 | | |
4020 | 4045 | | |
4021 | 4046 | | |
| 4047 | + | |
4022 | 4048 | | |
4023 | 4049 | | |
4024 | 4050 | | |
| |||
4108 | 4134 | | |
4109 | 4135 | | |
4110 | 4136 | | |
| 4137 | + | |
4111 | 4138 | | |
4112 | 4139 | | |
4113 | 4140 | | |
| |||
4123 | 4150 | | |
4124 | 4151 | | |
4125 | 4152 | | |
| 4153 | + | |
4126 | 4154 | | |
4127 | 4155 | | |
4128 | 4156 | | |
| |||
4139 | 4167 | | |
4140 | 4168 | | |
4141 | 4169 | | |
| 4170 | + | |
4142 | 4171 | | |
4143 | 4172 | | |
4144 | 4173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments