You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make an adjustment to the rust-libp2p codebase which uses rust-protobuf, however got a few compiler errors, one of which is due to a private field of a public struct in a generated rpc_proto.rs file: [rustc] field `name` of struct `rpc_proto::TopicDescriptor` is private. The problem is that this field needs to be public in order to use it for the topic ID in rust-libp2p. FMI see libp2p/rust-libp2p#473 (comment).
The text was updated successfully, but these errors were encountered:
jamesray1
added a commit
to jamesray1/rust-libp2p
that referenced
this issue
Sep 17, 2018
I was trying to make an adjustment to the rust-libp2p codebase which uses rust-protobuf, however got a few compiler errors, one of which is due to a private field of a public struct in a generated rpc_proto.rs file:
[rustc] field `name` of struct `rpc_proto::TopicDescriptor` is private
. The problem is that this field needs to be public in order to use it for the topic ID in rust-libp2p. FMI see libp2p/rust-libp2p#473 (comment).The text was updated successfully, but these errors were encountered: