pub fn find_body_stability(
sess: &Session,
attrs: &[impl AttributeExt],
) -> Option<(DefaultBodyStability, Span)>
Expand description
Collects stability info from rustc_default_body_unstable
attributes in attrs
.
Returns None
if no stability attributes are found.