We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oneof
https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
currently, we can box a variant manually. It would be good to automatically box based on size, or just all variants
The text was updated successfully, but these errors were encountered:
I assume this is about oneof fields.
The prost-derive macros don't have access to the size of a Rust type. So I think it is not possible to automatically box based on size.
prost-derive
Boxing all variants of a oneof field is interesting. Maybe that should happen when the name of the oneof is given to Config::boxed.
Config::boxed
Sorry, something went wrong.
boxed(type_name)
No branches or pull requests
https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
currently, we can box a variant manually. It would be good to automatically box based on size, or just all variants
The text was updated successfully, but these errors were encountered: