macro_rules! assert_not_matches {
($expr:expr, $pat:pat $(,)?) => { ... };
}Expand description
Asserts that the expression does not match the pattern.
This is equivalent to assert!(!matches!(...)) except that it produces
nicer errors.
macro_rules! assert_not_matches {
($expr:expr, $pat:pat $(,)?) => { ... };
}Asserts that the expression does not match the pattern.
This is equivalent to assert!(!matches!(...)) except that it produces
nicer errors.