getsentry / pdb

A parser for Microsoft PDB (Program Database) debugging information
https://docs.rs/pdb/
Apache License 2.0
385 stars 69 forks source link

Mark certain types as non_exhaustive #92

Closed jan-auer closed 3 years ago

jan-auer commented 3 years ago

Some of our types - especially enumerations - are either known to be extensible, incomplete, or not meant to be matched exhaustively. This PR adds #[non-exhaustive] annotations to these types to allow changing them in upcoming versions without breaking the API.

Fixes https://github.com/willglynn/pdb/issues/94