Correctly stringify! types and paths inside macros

Closes #8709
auto merge of #15805 : Sawyer47/rust/issue-8709, r=alexcrichton

Closes #8709