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

Keep getting the same error when compiling with Cargo using Ubuntu #97

Closed
19noam opened this issue Jan 10, 2023 · 0 comments
Closed

Keep getting the same error when compiling with Cargo using Ubuntu #97

19noam opened this issue Jan 10, 2023 · 0 comments

Comments

@19noam
Copy link

19noam commented Jan 10, 2023

error[E0308]: mismatched types
--> src/main.rs:166:19
|
166 | generate(gen, cmd, cmd.get_name().to_string(), &mut std::io::stdout());
| ^^^ expected struct clap::builder::command::App, found struct clap::Command
|
= note: expected mutable reference &mut clap::builder::command::App<'_>
found mutable reference `&mut clap::Command

@19noam 19noam changed the title Keep getting the same error when compiling with Cargo Keep getting the same error when compiling with Cargo using Ubuntu Jan 10, 2023
@19noam 19noam closed this as completed Jan 11, 2023
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

1 participant