Use new inner attribute syntax in test framework

Also, deprecated_owned_vector is allow by default now
auto merge of #13200 : sfackler/rust/test-attr, r=cmr