rustc: feature gates errors should use the new attribute syntax