[][src]Function syntax::attr::find_deprecation

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

Finds the deprecation attribute. None if none exists.