Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to install it (2.14.10) using cargo install because of Clap and options::Args #111

@c02y

Description

@c02y
error[E0432]: unresolved import `clap::Clap`
 --> /home/chz/.cargo/registry/src/github.com-1ecc6299db9ec823/dua-cli-2.14.10/src/main.rs:3:5
  |
3 | use clap::Clap;
  |     ^^^^^^^^^^ no `Clap` in the root

...many errors because of clap...

error[E0599]: no function or associated item named `parse_from` found for struct `options::Args` in the current scope
  --> /home/chz/.cargo/registry/src/github.com-1ecc6299db9ec823/dua-cli-2.14.10/src/main.rs:58:45
   |
58 |     let opt: options::Args = options::Args::parse_from(wild::args_os());
   |                                             ^^^^^^^^^^ function or associated item not found in `options::Args`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions