Geoffrey White
83df1137b6
Rust: Codegen.
2025-08-27 17:47:34 +01:00
Geoffrey White
2e747bb05c
Merge branch 'main' into oldpaths1 (some generated files are left unmerged).
2025-08-27 16:56:06 +01:00
Geoffrey White
a075ed595c
Rust: Remove telemetry about extractor generated paths.
2025-08-27 15:56:59 +01:00
Simon Friis Vindum
08f025f164
Rust: Infer range expressions certainly and support full ranges
2025-08-27 13:59:20 +02:00
Simon Friis Vindum
4c10f07d5f
Rust: Add type inference test with range full expression
2025-08-27 13:59:19 +02:00
Simon Friis Vindum
2f4e2d6d79
Rust: Infer certain types for logical operators
2025-08-27 13:59:18 +02:00
Simon Friis Vindum
0ff4dbcea0
Rust: Fix type inference inconsistency
2025-08-27 13:59:16 +02:00
Simon Friis Vindum
1981668f3c
Rust: Add pattern match type inference test
2025-08-27 13:59:15 +02:00
Geoffrey White
1d815b16d6
Rust: Update test expectations.
2025-08-27 10:42:45 +01:00
Geoffrey White
5d060d621b
Rust: Remove leftover QL use of Resolvable.
2025-08-27 10:42:44 +01:00
Geoffrey White
152ae1d29b
Rust: Codegen.
2025-08-27 10:42:42 +01:00
Geoffrey White
c7947a0afa
Rust: Remove built-in methods from Addressable in the schema.
2025-08-27 10:42:11 +01:00
Tom Hvitved
f232335618
Merge pull request #20291 from hvitved/rust/type-inference-more-certain-types
...
Rust: Add more cases to `inferCertainType`
2025-08-27 11:25:24 +02:00
Geoffrey White
3cd057fe39
Rust: Remove Resolvable from the schema.
2025-08-26 17:32:02 +01:00
Paolo Tranquilli
531955e922
Merge branch 'main' into redsun82/rust-less-warnings
2025-08-26 17:29:20 +02:00
Geoffrey White
a8f7f74812
Rust: Remove unused use decls.
2025-08-26 13:57:33 +01:00
Geoffrey White
70600fe6d9
Rust: Remove unused traits and things.
2025-08-26 13:55:29 +01:00
Geoffrey White
bd5f863efc
Rust: Remove uncalled methods.
2025-08-26 13:55:28 +01:00
Tom Hvitved
6453b71017
Rust: Add more cases to inferCertainType
2025-08-26 14:44:55 +02:00
Tom Hvitved
3527fca617
Merge pull request #20274 from hvitved/rust/type-synth-type-param
...
Rust: Include synthetic type parameters in `Type.getATypeParameter`
2025-08-26 14:42:29 +02:00
Simon Friis Vindum
87d1a14ff2
Merge pull request #20286 from github/rust/fix-examples
...
Rust: Fix examples in qldoc
2025-08-26 14:13:08 +02:00
Paolo Tranquilli
42a40c14ac
Rust: reword macro expansion error
2025-08-26 13:58:47 +02:00
Geoffrey White
dd00df74dd
Rust: Remove unused wiring.
2025-08-26 12:54:31 +01:00
Simon Friis Vindum
600417a767
Rust: Fix minor typo in bound in comment
2025-08-26 13:43:30 +02:00
Paolo Tranquilli
999920c968
Rust: accept test changes
2025-08-26 12:30:27 +02:00
Paolo Tranquilli
02b4c1fa85
Rust: downgrade uncompiled source files from warning to info
2025-08-26 11:56:53 +02:00
Tom Hvitved
80031e5c00
Merge pull request #20273 from hvitved/rust/attribute-in-macro-expansion
...
Rust: Include `getAttributeMacroExpansion` in `isInMacroExpansion`
2025-08-26 11:08:02 +02:00
Simon Friis Vindum
17f7b7f710
Rust: Fix examples in qldoc
2025-08-26 10:56:52 +02:00
Geoffrey White
078fbc6427
Rust: Remove resolve_paths from the translator.
2025-08-26 09:51:00 +01:00
Geoffrey White
456f56096f
Rust: Remove ResolvePaths enum and resolve_paths arguments up to Translator::new (hardcode to false).
2025-08-26 09:46:20 +01:00
Geoffrey White
d6d0645d7b
Rust: Remove skip_path_resolution config variable (hardhoded to true).
2025-08-26 09:33:52 +01:00
Tom Hvitved
83ca08cad6
Rust: Update expected test output
2025-08-25 21:54:15 +02:00
Tom Hvitved
9b4d37df24
Add change note
2025-08-25 20:49:10 +02:00
Paolo Tranquilli
7de34e4be0
Merge pull request #20055 from github/redsun82/cargo-upgrade-2
...
Rust: upgrade to rust-analyzer 0.0.300
2025-08-25 16:26:13 +02:00
Tom Hvitved
9ef839dc8a
Rust: Include synthetic type parameters in Type.getATypeParameter
2025-08-25 13:13:05 +02:00
Tom Hvitved
1d8f29136b
Rust: Include getAttributeMacroExpansion in isInMacroExpansion
2025-08-25 11:00:49 +02:00
Geoffrey White
4a4f782d86
Rust: Accept another consistency test change.
2025-08-22 16:57:51 +01:00
Geoffrey White
0e2bc7c95d
Merge remote-tracking branch 'upstream/main' into pathi
2025-08-22 16:57:41 +01:00
Geoffrey White
08cb038086
Rust: Accept changes to other tests.
2025-08-22 16:17:50 +01:00
Geoffrey White
701aec1c8e
Rust: Fix the canonicalize models.
2025-08-22 14:35:51 +01:00
Henning Makholm
2e69417d67
rust integration test: use all output from codeql test run
...
The integration test expectes to find a certain phrase from the
extractor repeated in the _stderr_ of `codeql test run`. However, that
subcommand is about to start reproducing the extractor output as-is,
which means the phrase will instead appear in _stdout_.
Change the integration test to capture all of the output, so it
will keep passing across the change.
2025-08-22 15:27:37 +02:00
Geoffrey White
49c4c34882
Merge pull request #20221 from github/copilot/fix-20220
...
Rust: Implement a new query for Log Injection
2025-08-22 14:01:49 +01:00
Paolo Tranquilli
e05eca6680
Merge branch 'main' into redsun82/cargo-upgrade-2
2025-08-22 13:52:28 +02:00
Geoffrey White
7279b0318b
Rust: Model a few more Path and PathBuf methods.
2025-08-22 11:31:43 +01:00
Geoffrey White
40b9754071
Rust: Change note.
2025-08-22 09:58:11 +01:00
Geoffrey White
2f2a975350
Rust: Model path::new.
2025-08-22 09:58:09 +01:00
Geoffrey White
d1a5c9b297
Rust: Add a test case resembling code seen in the wild.
2025-08-22 09:58:08 +01:00
Geoffrey White
8b04bc0ceb
Rust: Model std::fs::OpenOptions and similar.
2025-08-22 09:58:07 +01:00
Geoffrey White
9fbbe02da0
Rust: Compact these models a little.
2025-08-22 09:58:05 +01:00
Geoffrey White
fcce862cea
Rust: Add an explicit test case for sinks with two relevant args.
2025-08-22 09:58:04 +01:00