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