error: expected `fn` --> tests/fail/not_a_function.rs:4:1 | 4 | struct A; | ^^^^^^