[−][src]Function rustc_attr::builtin::find_deprecation

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

Finds the deprecation attribute. None if none exists.