Interner cleanups Improve some code that I have found confusing. r? ```@lcnr```
For more information about how rustc works, see the rustc dev guide.