tweak placeholder text for types
compile parts of TypePrinter.cpp

Use it to print types in diagnostics. Struct types are printed as just
'<struct>' for now, but pointer types, builtin types, and name types
already get printed correctly.