You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
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
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 structclap::Command
|
= note: expected mutable reference
&mut clap::builder::command::App<'_>
found mutable reference `&mut clap::Command
The text was updated successfully, but these errors were encountered: