Skip to content

Commit

Permalink
Do not call a proc macro helper before it is defined
Browse files Browse the repository at this point in the history
See rust#79202 <rust-lang/rust#79202>
  • Loading branch information
lu-zero committed Jul 29, 2021
1 parent 2e3126b commit 29ab6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ struct Args {
manifest_path: Option<PathBuf>,
}

#[derive(StructOpt, Debug)]
#[structopt(
name = "cargo-ebuild",
bin_name = "cargo",
author,
about = "Generates an ebuild for a given Cargo project",
global_settings(&[AppSettings::ColoredHelp])
)]
#[derive(StructOpt, Debug)]
enum Opt {
#[structopt(name = "ebuild")]
/// Generates an ebuild for a given Cargo project
Expand Down

0 comments on commit 29ab6cf

Please sign in to comment.