Remove allow(deprecated_owned_vector) lint
auto merge of #14354 : EdorianDark/rust/master, r=huonw

It seemed to me, that [T] was deprecated and i am trying to help.