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