Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building related to clap::Arg #80

Open
gluque opened this issue Jan 11, 2022 · 2 comments
Open

Error while building related to clap::Arg #80

gluque opened this issue Jan 11, 2022 · 2 comments

Comments

@gluque
Copy link

gluque commented Jan 11, 2022

Hi there! I got this error while trying to build frawk with cargo:

no method named about found for struct clap::Arg in the current scope

The context of this error is shown below:

error[E0599]: no method named `about` found for struct `clap::Arg` in the current scope
   --> src/main.rs:320:15
    |
320 | ...   .about("the optimization level for the program. Positive levels determine the optimization level for LLVM. Level -1 forces bytecode...
    |        ^^^^^ method not found in `clap::Arg<'_>`

any idea about how to deal with it?

@ghuls
Copy link
Contributor

ghuls commented Jan 13, 2022

#81 will fix it. (I assume you updated clap from 3.0.0-beta4 to 3.0.x.)

@ezrosent
Copy link
Owner

Thanks for reporting the issue! I believe this should be fixed with the new 0.4.5 version, which includes #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants