summaryrefslogtreecommitdiffstats
path: root/vendor/clap_builder/src/parser/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap_builder/src/parser/error.rs')
-rw-r--r--vendor/clap_builder/src/parser/error.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/clap_builder/src/parser/error.rs b/vendor/clap_builder/src/parser/error.rs
index 66b2bc79e..77b0bb0fc 100644
--- a/vendor/clap_builder/src/parser/error.rs
+++ b/vendor/clap_builder/src/parser/error.rs
@@ -1,3 +1,5 @@
+use crate::util::AnyValueId;
+
/// Violation of [`ArgMatches`][crate::ArgMatches] assumptions
#[derive(Clone, Debug)]
#[allow(missing_copy_implementations)] // We might add non-Copy types in the future
@@ -7,9 +9,9 @@ pub enum MatchesError {
#[non_exhaustive]
Downcast {
/// Type for value stored in [`ArgMatches`][crate::ArgMatches]
- actual: super::AnyValueId,
+ actual: AnyValueId,
/// The target type to downcast to
- expected: super::AnyValueId,
+ expected: AnyValueId,
},
/// Argument not defined in [`Command`][crate::Command]
#[non_exhaustive]