Commit c51f05b
committed
Report infer ty errors during hir ty lowering
This centralizes the placeholder type error reporting in one location, but it also exposes the granularity at which we convert things from hir to ty more. E.g. previously infer types in where bounds were errored together with the function signature, but now they are independent.1 parent df32e15 commit c51f05b
File tree
30 files changed
+414
-709
lines changed- compiler
- rustc_hir_analysis/src
- check
- rustc_hir/src
- rustc_middle/src/ty
- tests/ui
- async-await/issues
- const-generics/generic_arg_infer
- did_you_mean
- fn
- generics
- impl-trait/in-trait
- macros
- self
- suggestions
- typeck
30 files changed
+414
-709
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
| 3144 | + | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
3144 | 3153 | | |
3145 | 3154 | | |
3146 | 3155 | | |
| |||
3202 | 3211 | | |
3203 | 3212 | | |
3204 | 3213 | | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
| 3218 | + | |
| 3219 | + | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
3205 | 3223 | | |
3206 | 3224 | | |
3207 | 3225 | | |
| |||
4527 | 4545 | | |
4528 | 4546 | | |
4529 | 4547 | | |
| 4548 | + | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
4530 | 4558 | | |
4531 | 4559 | | |
4532 | 4560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
| |||
0 commit comments