syntax: Remove an unnecessary allocation.
auto merge of #6948 : huonw/rust/less-alloc, r=bstrie