commit: cd1c4256051eee97ea922d431c5c1547e4809bbd Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org> AuthorDate: Thu Jul 29 14:03:18 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Mon Aug 2 06:56:31 2021 +0000 URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=cd1c4256
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 <AT> gentoo.org> src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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
