stop treating char as an integer type

Closes #7609
auto merge of #8974 : thestinger/rust/char, r=huonw

Closes #7609