mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 15:27:16 +00:00
fix(parser): Don't allow error equality
This could cause surprising results for users as we add fields
This commit is contained in:
parent
758f3fff18
commit
cc2714beab
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::util::Id;
|
||||
|
||||
/// Violation of [`ArgMatches`][crate::ArgMatches] assumptions
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Debug)]
|
||||
#[allow(missing_copy_implementations)] // We might add non-Copy types in the future
|
||||
#[non_exhaustive]
|
||||
pub enum MatchesError {
|
||||
|
|
Loading…
Add table
Reference in a new issue