1 2 3 4 5 6 7
fn main() {} struct X; impl X { fn f(); //~ ERROR associated function in `impl` without body }