1
Fork 0

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

@ -152,9 +152,7 @@ impl CheckAttrVisitor<'_> {
sym::link_name => self.check_link_name(hir_id, attr, span, target),
sym::link_section => self.check_link_section(hir_id, attr, span, target),
sym::no_mangle => self.check_no_mangle(hir_id, attr, span, target),
sym::deprecated | sym::rustc_deprecated => {
self.check_deprecated(hir_id, attr, span, target)
}
sym::deprecated => self.check_deprecated(hir_id, attr, span, target),
sym::macro_use | sym::macro_escape => self.check_macro_use(hir_id, attr, target),
sym::path => self.check_generic_attr(hir_id, attr, target, &[Target::Mod]),
sym::plugin_registrar => self.check_plugin_registrar(hir_id, attr, target),