CannotInferTypeArgs occurs when type or function type argument inference fails to infer all type arguments. Example: func f[T any]() {} func _() { f() }