sp-runtime-interface 21.0.0

Substrate runtime interface
Documentation
1
2
3
4
5
6
7
error: `PassByEnum` only supports enums as input type.
  --> tests/ui/pass_by_enum_with_struct.rs:20:10
   |
20 | #[derive(PassByEnum)]
   |          ^^^^^^^^^^
   |
   = note: this error originates in the derive macro `PassByEnum` (in Nightly builds, run with -Z macro-backtrace for more info)