rustc: Fix cstack lint for default methods. Closes #8753