ca5525d564
This commit makes `AdtDef` use `Interned`. Much the commit is tedious changes to introduce getter functions. The interesting changes are in `compiler/rustc_middle/src/ty/adt.rs`.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.