Consumers of Similac infant formula that was recalled last year due to contamination can’t sue for damages.

That’s according to a Monday ruling by U.S. District Judge Matthew Kennelly, who found that a class of thousands of consumers lacked standing to sue manufacturer Abbott Laboratories. The ruling is a setback for plaintiffs’ lawyers, who argued that had consumers known the formula contained health risks, they would not have purchased the products for their infants.