mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Shared, Rust: Ensure that the constraints in satisfiesConstraintType are in relevantConstraint
This commit is contained in:
@@ -989,7 +989,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
|
||||
path = prefix0.append(suffix)
|
||||
)
|
||||
or
|
||||
tt.getTypeAt(TypePath::nil()) = constraint and
|
||||
hasTypeConstraint(tt, constraint, constraint) and
|
||||
t = tt.getTypeAt(path)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user