cairo_lang_semantic::items::feature_kind

Function extract_item_feature_config

Source
pub fn extract_item_feature_config(
    db: &dyn SyntaxGroup,
    syntax: &impl QueryAttrs,
    diagnostics: &mut SemanticDiagnostics,
) -> FeatureConfig
Expand description

Returns the allowed features of an object which supports attributes.