Function syntex_syntax::attr::find_deprecation [] [src]

pub fn find_deprecation(diagnostic: &Handler, attrs: &[Attribute], item_sp: Span) -> Option<Deprecation>

Find the deprecation attribute. None if none exists.