Encode types in SMIR The first commit makes sure we can actually store a Ty<'tcx> (with the lifetime) in the thread local and get it back out. The second commit then introduces types. r? `@spastorino`
x test --stage 1 ui-fulldeps
rustc_fluent_macro
rustc_macros
box_syntax