Use new inner attribute syntax in test framework
auto merge of #13200 : sfackler/rust/test-attr, r=cmr