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
error: missing documentation for a struct
--> src/messages.rs:139:24
|
139 | #[derive(Clone, Debug, BinRead, BinWrite)]
| ^^^^^^^
I think this is because the generated code for the argument struct (FooBinReadArgs) has no documentation.
Switching from named arguments to tuple-style arguments fixes the error.
The text was updated successfully, but these errors were encountered:
mvforell
changed the title
Deriving BinRead with arguments fails to compile with #![deny(missing_docs)]
Deriving BinRead with named arguments fails to compile with #![deny(missing_docs)]May 29, 2022
Trying to compile code that looks something like this:
results in this error:
I think this is because the generated code for the argument struct (
FooBinReadArgs
) has no documentation.Switching from named arguments to tuple-style arguments fixes the error.
The text was updated successfully, but these errors were encountered: