Can't use &rest in loop destructuring. Use (expected actual . reason) instead.