rust/compiler/rustc_typeck
bors b759b2efad Auto merge of #99509 - lcnr:commit_unconditionally, r=jackh726
remove `commit_unconditionally`

`commit_unconditionally` is a noop unless we somehow inspect the current state of our snapshot. The only thing which does that is the leak check which was only used in one place where `commit_if_ok` is probably at least as, or even more, correct.

r? rust-lang/types
2022-08-03 01:55:20 +00:00
..
2022-06-27 08:48:55 +10:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.