See if non_exhaustive
would be useful for 1.0
#4080
Labels
Milestone
non_exhaustive
would be useful for 1.0
#4080
There are a handful of structs that users should be able to access but possibly not construct in case fields change in the future. Currently we often do this by having a single private field, but maybe
#[non_exhaustive]
would be better suited here.The text was updated successfully, but these errors were encountered: