Add `#[non_exhaustive]`

This commit is contained in:
wtfsck 2022-02-23 22:35:42 +01:00
parent 4e1bbbc476
commit 4b0331590e
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ impl CodeLabel {
/// Result of assembling the instructions /// Result of assembling the instructions
#[derive(Debug)] #[derive(Debug)]
#[cfg_attr(not(feature = "exhaustive_enums"), non_exhaustive)]
pub struct CodeAssemblerResult { pub struct CodeAssemblerResult {
/// Inner `BlockEncoder` result /// Inner `BlockEncoder` result
pub inner: BlockEncoderResult, pub inner: BlockEncoderResult,