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