From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C507139337 for ; Mon, 2 Aug 2021 06:57:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B81E7E08FB; Mon, 2 Aug 2021 06:57:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D726E08FB for ; Mon, 2 Aug 2021 06:57:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8960D343A6E for ; Mon, 2 Aug 2021 06:57:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BED8C63F for ; Mon, 2 Aug 2021 06:57:08 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1627887391.cd1c4256051eee97ea922d431c5c1547e4809bbd.gyakovlev@gentoo> Subject: [gentoo-commits] proj/cargo-ebuild:master commit in: src/ X-VCS-Repository: proj/cargo-ebuild X-VCS-Files: src/main.rs X-VCS-Directories: src/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: cd1c4256051eee97ea922d431c5c1547e4809bbd X-VCS-Branch: master Date: Mon, 2 Aug 2021 06:57:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53e67aeb-648f-4b9f-af52-a5fe5d8a3594 X-Archives-Hash: 22d1ee199de828a22977dc9e8f3cca23 commit: cd1c4256051eee97ea922d431c5c1547e4809bbd Author: Luca Barbato gentoo org> AuthorDate: Thu Jul 29 14:03:18 2021 +0000 Commit: Georgy Yakovlev gentoo 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 Closes: https://github.com/gentoo/cargo-ebuild/pull/9 Signed-off-by: Georgy Yakovlev 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, } +#[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