librustc: Allow adding static fn's in multiple impl's.
Add test for #4228.
auto merge of #7029 : luqmana/rust/issue-4228, r=catamorphism

Fixes #4228