Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <rust-lang#121208> related to never type adjustments in expr typecheck errors.
- Loading branch information