// generated by codegen, do not edit import codeql.rust.elements import TestUtils query predicate instances(CastExpr x) { toBeTested(x) and not x.isUnknown() } query predicate getAttr(CastExpr x, int index, Attr getAttr) { toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index) } query predicate getExpr(CastExpr x, Expr getExpr) { toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr() } query predicate getTypeRepr(CastExpr x, TypeRepr getTypeRepr) { toBeTested(x) and not x.isUnknown() and getTypeRepr = x.getTypeRepr() }