[][src]Function syntex_syntax2::attr::find_deprecation

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

Find the deprecation attribute. None if none exists.