sp-runtime-interface 17.1.0-dev.2

Substrate runtime interface
Documentation
1
2
3
4
5
6
7
error: `PassByEnum` only supports unit variants.
 --> $DIR/pass_by_enum_with_value_variant.rs:3:10
  |
3 | #[derive(PassByEnum)]
  |          ^^^^^^^^^^
  |
  = note: this error originates in the derive macro `PassByEnum` (in Nightly builds, run with -Z macro-backtrace for more info)