Skip to content

Commit 4aef1ba

Browse files
committed
Rust: clean up
1 parent a9ae583 commit 4aef1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/files/FileSystem.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ExtractedFile extends File {
8282
* * expand any macros
8383
* * skip any blocks that are conditionally compiled out
8484
*/
85-
predicate hasSemantics() { not exists(Diagnostic d | d = this.getNoSemanticsDiagnostic()) }
85+
predicate hasSemantics() { not exists(this.getNoSemanticsDiagnostic()) }
8686

8787
/**
8888
* Holds if we know this file was skipped by conditional compilation.

0 commit comments

Comments
 (0)