Commit 06b5718
authored
Rollup merge of rust-lang#142420 - oli-obk:infer-ty-coalescing, r=compiler-errors
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.
r? `@compiler-errors`29 files changed
Lines changed: 393 additions & 644 deletions
File tree
- 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
| 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