swarm-derive/: Don't fail when ignored fields are first #2569
Labels
bug
difficulty:moderate
getting-started
Issues that can be tackled if you don't know the internals of libp2p very well
help wanted
The
NetworkBehaviour
derive macro seems to fail when the#[behaviour(ignore)]
fields are not the very last fields.E.g. while the first here fails, the second succeeds:
See rs-ipfs/rust-ipfs#499 (comment) for a failure in the wild.
The text was updated successfully, but these errors were encountered: