1 2 3 4 5 6 7
error: `#[dispatch]` goes on an enum or a struct, or on an impl block of one --> tests/ui/dispatch_on_a_function.rs:3:1 | 3 | / fn area() -> u32 { 4 | | 1 5 | | } | |_^