37354ebc97
This reverts commit 349b3b324dade7ca638091db93ba08bbc443c63d, reversing changes made to b776d1c3e3db8befabb123ebb1e46c3531eaed46.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.