diff options
author | 2021-07-29 16:03:18 +0200 | |
---|---|---|
committer | 2021-08-01 23:56:31 -0700 | |
commit | cd1c4256051eee97ea922d431c5c1547e4809bbd (patch) | |
tree | cf592f35f3b02408a9b3b0059d25f5e1282aa815 | |
parent | .github: add dco check (diff) | |
download | cargo-ebuild-cd1c4256051eee97ea922d431c5c1547e4809bbd.tar.gz cargo-ebuild-cd1c4256051eee97ea922d431c5c1547e4809bbd.tar.bz2 cargo-ebuild-cd1c4256051eee97ea922d431c5c1547e4809bbd.zip |
Do not call a proc macro helper before it is defined
See rust#79202 <https://github.com/rust-lang/rust/issues/79202>
Closes: https://github.com/gentoo/cargo-ebuild/pull/9
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index dbf73ee..94aa1af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,6 +24,7 @@ struct Args { manifest_path: Option<PathBuf>, } +#[derive(StructOpt, Debug)] #[structopt( name = "cargo-ebuild", bin_name = "cargo", @@ -31,7 +32,6 @@ struct Args { 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 |