Spot the bug in the comparable constraint

from Generics
Go 1.27 beginner 4 min 1 issue to find

Find the constraint error in this generated helper.

Go
func Earlier[T comparable](left, right T) T {
    if left < right {
        return left
    }
    return right
}
Open in playground
Report an error