mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Rust: Fix a bad join by adding bindingset to resolveTypeMentionRoot
This commit is contained in:
@@ -259,7 +259,8 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
|
||||
private import Input2
|
||||
|
||||
/** Gets the type at the empty path of `tm`. */
|
||||
pragma[nomagic]
|
||||
bindingset[tm]
|
||||
pragma[inline_late]
|
||||
private Type resolveTypeMentionRoot(TypeMention tm) {
|
||||
result = tm.resolveTypeAt(TypePath::nil())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user