Skip to content

Commit 54e7bb7

Browse files
committed
Rust: Fix a bad join by adding bindingset to resolveTypeMentionRoot
1 parent 06c8963 commit 54e7bb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared/typeinference/codeql/typeinference/internal/TypeInference.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
259259
private import Input2
260260

261261
/** Gets the type at the empty path of `tm`. */
262-
pragma[nomagic]
262+
bindingset[tm]
263+
pragma[inline_late]
263264
private Type resolveTypeMentionRoot(TypeMention tm) {
264265
result = tm.resolveTypeAt(TypePath::nil())
265266
}

0 commit comments

Comments
 (0)