diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-12-14 02:52:29 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-12-14 17:07:20 +0800 |
| commit | d15315cf9d2fbe3c2d348267567feacaddf89c50 (patch) | |
| tree | 563189d3dc4feae1637e93627f0bc07871da5715 /compiler/rustc_interface/src | |
| parent | 0b0744ae8093eeeb9cf9627320ca0d4649c9ffaf (diff) | |
| download | rust-d15315cf9d2fbe3c2d348267567feacaddf89c50.tar.gz rust-d15315cf9d2fbe3c2d348267567feacaddf89c50.zip | |
Return adjustment target if adjust kind is never-to-any
Without doing so, we'll run into a series of delayed bugs then find that we have a `TyKind::Error` constructed yet fail to emit an error. This partially reverts a change in <https://github.com/rust-lang/rust/pull/121208> related to never type adjustments in expr typecheck errors.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
