syntax::attr
pub fn find_deprecation( diagnostic: &Handler, attrs: &[Attribute], item_sp: Span) -> Option<Deprecation>
Find the deprecation attribute. None if none exists.
None