pub fn find_stability(
sess: &Session,
attrs: &[impl AttributeExt],
item_sp: Span,
) -> Option<(Stability, Span)>
Expand description
Collects stability info from stable
/unstable
/rustc_allowed_through_unstable_modules
attributes in attrs
. Returns None
if no stability attributes are found.