Skip to content

Commit 29ab6cf

Browse files
committed
Do not call a proc macro helper before it is defined
See rust#79202 <rust-lang/rust#79202>
1 parent 2e3126b commit 29ab6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ struct Args {
2424
manifest_path: Option<PathBuf>,
2525
}
2626

27+
#[derive(StructOpt, Debug)]
2728
#[structopt(
2829
name = "cargo-ebuild",
2930
bin_name = "cargo",
3031
author,
3132
about = "Generates an ebuild for a given Cargo project",
3233
global_settings(&[AppSettings::ColoredHelp])
3334
)]
34-
#[derive(StructOpt, Debug)]
3535
enum Opt {
3636
#[structopt(name = "ebuild")]
3737
/// Generates an ebuild for a given Cargo project

0 commit comments

Comments
 (0)