Remove rustc_deprecated diagnostics

This commit is contained in:
Jacob Pratt 2022-06-14 19:11:24 -04:00
parent 1f34da9ec8
commit fb05b53745
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
9 changed files with 166 additions and 237 deletions

View file

@ -489,11 +489,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
// ==========================================================================
ungated!(feature, CrateLevel, template!(List: "name1, name2, ..."), DuplicatesOk),
// FIXME(jhpratt) remove this eventually
ungated!(
rustc_deprecated, Normal,
template!(List: r#"since = "version", note = "...""#), ErrorFollowing
),
// DuplicatesOk since it has its own validation
ungated!(
stable, Normal, template!(List: r#"feature = "name", since = "version""#), DuplicatesOk,