Rust: Fix a bad join by adding bindingset to resolveTypeMentionRoot

This commit is contained in:
Simon Friis Vindum
2025-03-25 14:26:24 +01:00
parent 06c8963f70
commit 54e7bb7f1a

View File

@@ -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())
}