Rust: Codegen.

This commit is contained in:
Geoffrey White
2025-08-26 16:48:44 +01:00
parent c7947a0afa
commit 152ae1d29b
42 changed files with 575 additions and 1110 deletions

View File

@@ -4,14 +4,6 @@ import TestUtils
query predicate instances(TupleStructPat x) { toBeTested(x) and not x.isUnknown() }
query predicate getResolvedPath(TupleStructPat x, string getResolvedPath) {
toBeTested(x) and not x.isUnknown() and getResolvedPath = x.getResolvedPath()
}
query predicate getResolvedCrateOrigin(TupleStructPat x, string getResolvedCrateOrigin) {
toBeTested(x) and not x.isUnknown() and getResolvedCrateOrigin = x.getResolvedCrateOrigin()
}
query predicate getPath(TupleStructPat x, Path getPath) {
toBeTested(x) and not x.isUnknown() and getPath = x.getPath()
}