Function rustc_attr::builtin::find_deprecation
source · [−]pub fn find_deprecation(
sess: &Session,
attrs: &[Attribute]
) -> Option<(Deprecation, Span)>
Expand description
Finds the deprecation attribute. None
if none exists.