Commit 3dd01ac
committed
Auto merge of #142420 - oli-obk:infer-ty-coalescing, r=<try>
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`25 files changed
Lines changed: 326 additions & 601 deletions
File tree
- compiler
- rustc_hir_analysis/src
- check
- rustc_hir/src
- rustc_middle/src/ty
- tests/ui
- async-await/issues
- did_you_mean
- fn
- generics
- impl-trait/in-trait
- macros
- self
- suggestions
- typeck
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3151 | 3151 | | |
3152 | 3152 | | |
3153 | 3153 | | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
3154 | 3163 | | |
3155 | 3164 | | |
3156 | 3165 | | |
| |||
3212 | 3221 | | |
3213 | 3222 | | |
3214 | 3223 | | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
3215 | 3233 | | |
3216 | 3234 | | |
3217 | 3235 | | |
| |||
4537 | 4555 | | |
4538 | 4556 | | |
4539 | 4557 | | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
4540 | 4568 | | |
4541 | 4569 | | |
4542 | 4570 | | |
| |||
| 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