error: expected `DispatchResultWithPostInfo` or `DispatchResult`
  --> $DIR/call_invalid_return.rs:17:39
   |
17 |         pub fn foo(origin: OriginFor<T>) -> ::DispatchResult { todo!() }
   |                                             ^^
