Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Failures when building with rust 2018 #140
Enabling rust 2018 on a prost project will cause failures in certain generated messages. Specifically, those generated messages who end up generating modules. Specifically you might see error messages like:
Or maybe even some messages like:
These are caused by internal modules not including the types from:
All we should need is an: "use prost_derive::*" in these generated modules, however we probably want to also turn it into a feature for only 2018, so this crate doesn't force 2018 edition code on others. Or maybe since it's an include that just won't get used it's fine since it'll be optimized away?
via 2018 version. After switching to nightly, this went away. .. though, I'm still running into import failures via #142