// generated by codegen, do not edit import codeql.rust.elements import TestUtils from Param x, int getNumberOfAttrs, string hasTypeRepr, string hasPat where toBeTested(x) and not x.isUnknown() and getNumberOfAttrs = x.getNumberOfAttrs() and (if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no") and if x.hasPat() then hasPat = "yes" else hasPat = "no" select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasTypeRepr:", hasTypeRepr, "hasPat:", hasPat