Skip to content

Commit cb6c94a

Browse files
committed
fix(lexarg)!: Make TestOpts non-exhaustive
1 parent 7e2f596 commit cb6c94a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use lexarg_error::ErrorContext;
2020
///
2121
/// To parse, see [`TestOptsBuilder`]
2222
#[derive(Debug, Default)]
23+
#[non_exhaustive]
2324
pub struct TestOpts {
2425
pub list: bool,
2526
pub filters: Vec<String>,

0 commit comments

Comments
 (0)