SubtypingConstraint

struct SubtypingConstraint : Constraint, Hashable
extension SubtypingConstraint: CustomStringConvertible

A constraint L <: R (or L < R) specifying that L is subtype (or strict subtype) of R.

Warning

should not be used directly for inference purposes or the type checker will get stuck. Use inferenceConstraint(_:isSubtypeOf:origin:) instead.