repr: print the name of structs
repr: remove trailing {} from unit-like structs
auto merge of #8899 : thestinger/rust/repr, r=huonw