Function rustc_attr::builtin::find_stability
source · [−]pub fn find_stability(
sess: &Session,
attrs: &[Attribute],
item_sp: Span
) -> (Option<(Stability, Span)>, Option<(ConstStability, Span)>, Option<(DefaultBodyStability, Span)>)
Expand description
Collects stability info from all stability attributes in attrs
.
Returns None
if no stability attributes are found.