Skip to content

Commit

Permalink
Auto merge of rust-lang#134465 - lcnr:type-verifier, r=<try>
Browse files Browse the repository at this point in the history
cleanup `TypeVerifier`

We should merge it with the `TypeChecker` as we no longer bail in cases where it encounters an error since rust-lang#111863.

It's quite inconsistent whether a check lives in the verifier or the `TypeChecker`, so this feels like a quite impactful cleanup. I expect that for this we may want to change the `TypeChecker` to also be a MIR visitor 🤔 this is non-trivial so I didn't fully do it in this PR.

Best reviewed commit by commit.

r? `@compiler-errors` feel free to reassign however
  • Loading branch information
bors committed Dec 18, 2024
2 parents 3378a5e + 5bced14 commit 231855a
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 342 deletions.
Loading

0 comments on commit 231855a

Please sign in to comment.