Skip to content

Commit caccee9

Browse files
authored
Merge pull request #20833 from hvitved/rust/fix-bad-join
Rust: Fix bad join
2 parents a28a718 + 1b6b1e5 commit caccee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module Impl {
105105
not isAttributeMacroExpansionSourceLocation(macro, n.getLocation())
106106
)
107107
or
108-
isFromMacroExpansion(getImmediatelyEnclosingMacroInvocation(n))
108+
isFromMacroExpansion(pragma[only_bind_into](getImmediatelyEnclosingMacroInvocation(n)))
109109
}
110110

111111
cached

0 commit comments

Comments
 (0)