Commit 993b819
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 fe5c95d commit 993b819
25 files changed
Lines changed: 327 additions & 602 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 | |
|---|---|---|---|
| |||
3134 | 3134 | | |
3135 | 3135 | | |
3136 | 3136 | | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
| 3144 | + | |
| 3145 | + | |
3137 | 3146 | | |
3138 | 3147 | | |
3139 | 3148 | | |
| |||
3194 | 3203 | | |
3195 | 3204 | | |
3196 | 3205 | | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3197 | 3215 | | |
3198 | 3216 | | |
3199 | 3217 | | |
| |||
4517 | 4535 | | |
4518 | 4536 | | |
4519 | 4537 | | |
| 4538 | + | |
| 4539 | + | |
| 4540 | + | |
| 4541 | + | |
| 4542 | + | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
| 4546 | + | |
| 4547 | + | |
4520 | 4548 | | |
4521 | 4549 | | |
4522 | 4550 | | |
| |||
| 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