Skip to content

Commit 2b65e78

Browse files
committed
Rust: fix bad join order
1 parent a3b903f commit 2b65e78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/ql/lib/codeql/rust/elements/internal/LocatableImpl.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ module Impl {
3636
this.getLocation().hasLocationInfo(filepath, startline, startcolumn, endline, endcolumn)
3737
or
3838
not exists(this.getLocation()) and
39-
any(EmptyLocation e).hasLocationInfo(filepath, startline, startcolumn, endline, endcolumn)
39+
pragma[only_bind_out](any(EmptyLocation e))
40+
.hasLocationInfo(filepath, startline, startcolumn, endline, endcolumn)
4041
}
4142

4243
/**

0 commit comments

Comments
 (0)