Function rustc_attr::builtin::find_body_stability
source ยท pub fn find_body_stability(
sess: &Session,
attrs: &[Attribute],
) -> Option<(DefaultBodyStability, Span)>
Expand description
Collects stability info from rustc_default_body_unstable
attributes in attrs
.
Returns None
if no stability attributes are found.