// generated by codegen, do not edit import codeql.rust.elements import TestUtils query predicate instances(Variant x) { toBeTested(x) and not x.isUnknown() } query predicate getAttr(Variant x, int index, Attr getAttr) { toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index) } query predicate getDiscriminant(Variant x, Expr getDiscriminant) { toBeTested(x) and not x.isUnknown() and getDiscriminant = x.getDiscriminant() } query predicate getFieldList(Variant x, FieldList getFieldList) { toBeTested(x) and not x.isUnknown() and getFieldList = x.getFieldList() } query predicate getName(Variant x, Name getName) { toBeTested(x) and not x.isUnknown() and getName = x.getName() } query predicate getVisibility(Variant x, Visibility getVisibility) { toBeTested(x) and not x.isUnknown() and getVisibility = x.getVisibility() }