Use static strings
auto merge of #6193 : youknowone/rust/static-string, r=sanxiyn