rustc: Fix cstack lint for default methods. Closes #8753
auto merge of #8796 : brson/rust/cstack, r=pnkfelix