fix(parser): Don't allow error equality

This could cause surprising results for users as we add fields
This commit is contained in:
Ed Page 2022-06-02 13:36:01 -05:00
parent 758f3fff18
commit cc2714beab

View file

@ -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 {