error: Invalid type: expected `OriginFor<T>`
  --> $DIR/call_invalid_origin_type.rs:17:22
   |
17 |         pub fn foo(origin: u8) {}
   |                            ^^

error: expected `OriginFor`
  --> $DIR/call_invalid_origin_type.rs:17:22
   |
17 |         pub fn foo(origin: u8) {}
   |                            ^^
