CodeQL library for Rust
codeql/rust-all 0.1.11 (changelog, source)
Search

Module ExternalLocationPostProcessing

Provides logic for creating a @kind test-postprocess query that converts external locations to a special {EXTERNAL LOCATION} string.

This is useful for writing tests that use real locations when executed in VS Code, but prevents the “Location is outside of test directory” warning when executed through codeql test run.

Import path

import codeql.util.test.ExternalLocationPostProcessing

Modules