We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 393215e commit fe4836aCopy full SHA for fe4836a
src/cargo/util/command_prelude.rs
@@ -319,7 +319,7 @@ pub trait ArgMatchesExt {
319
None => None,
320
Some(arg) => Some(arg.parse::<u32>().map_err(|_| {
321
clap::Error::raw(
322
- clap::ErrorKind::ValueValidation,
+ clap::error::ErrorKind::ValueValidation,
323
format!("Invalid value: could not parse `{}` as a number", arg),
324
)
325
})?),
@@ -332,7 +332,7 @@ pub trait ArgMatchesExt {
332
333
Some(arg) => Some(arg.parse::<i32>().map_err(|_| {
334
335
336
337
338
0 commit comments