`pub fn main` for run-pass tests that didn't have it
auto merge of #5001 : jld/rust/test-pub-fn-main, r=catamorphism