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