pub fn validate_attributes_flat(
db: &dyn SyntaxGroup,
allowed_attributes: &OrderedHashSet<String>,
item: &impl QueryAttrs,
plugin_diagnostics: &mut Vec<PluginDiagnostic>,
)
Expand description
Validates that all attributes on the given item are in the allowed set or adds diagnostics.