Skip to content

Commit 9e6c151

Browse files
committed
Do not call a proc macro helper before it is defined
See rust#79202 <rust-lang/rust#79202> Signed-off-by: Luca Barbato <[email protected]>
1 parent e05b016 commit 9e6c151

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)