Skip to content

Commit c7a9cc5

Browse files
committed
Rust: Use annotations also for items in macro expansions
1 parent 5d3b542 commit c7a9cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/ql/lib/utils/test/PathResolutionInlineExpectationsTest.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ private module ResolveTest implements TestSig {
2525

2626
private predicate item(ItemNode i, string value) {
2727
exists(string filepath, int line, boolean inMacro | itemAt(i, filepath, line, inMacro) |
28-
commmentAt(value, filepath, line) and inMacro = false
28+
commmentAt(value, filepath, line)
2929
or
30-
not (commmentAt(_, filepath, line) and inMacro = false) and
30+
not commmentAt(_, filepath, line) and
3131
value = i.getName()
3232
)
3333
}

0 commit comments

Comments
 (0)