If you eat the normal quantities of proteins, essential fatty substances, vitamins and minerals (all of which would provide only around 400 kcal/day, way lower than the around 800 kcal/day recommended for quick weight loss) and you eliminate only most carbohydrates and non-essential fats, you still lose weight fast enough, but you avoid any health risks, including muscle mass loss.