1 2 3 4 5 6 7 8 9
// Fixture: aggregate! with _sum applied to a String column (email) // Expected diagnostic: "is not numeric; `_sum` requires a numeric column" fn main() { let client = (); let _ = prax_codegen::aggregate!(client.user, { _sum: { email: true }, }); }