summaryrefslogtreecommitdiffstats
path: root/vendor/clap/src/parser/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap/src/parser/error.rs')
-rw-r--r--vendor/clap/src/parser/error.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/clap/src/parser/error.rs b/vendor/clap/src/parser/error.rs
index bdafa9ae5..caeba4b8f 100644
--- a/vendor/clap/src/parser/error.rs
+++ b/vendor/clap/src/parser/error.rs
@@ -54,3 +54,14 @@ impl std::fmt::Display for MatchesError {
}
}
}
+
+#[test]
+fn check_auto_traits() {
+ static_assertions::assert_impl_all!(
+ MatchesError: Send,
+ Sync,
+ std::panic::RefUnwindSafe,
+ std::panic::UnwindSafe,
+ Unpin
+ );
+}