From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gandi.kataplop.net (gandi.kataplop.net [46.226.111.114]) by sourceware.org (Postfix) with ESMTPS id BCE4E385740F for ; Mon, 28 Jun 2021 22:07:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BCE4E385740F Received: from [176.191.105.132] (helo=arrakis) by gandi.kataplop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxzPD-0002PM-Jx; Tue, 29 Jun 2021 00:07:08 +0200 From: Marc To: Mark Wielaard Cc: gcc-rust@gcc.gnu.org Subject: Re: [PATCH] Suppress warning in rust-ast-lower-type.h ASTLowerGenericParam.visit. References: <20210628214147.256049-1-mark@klomp.org> Date: Tue, 29 Jun 2021 00:06:56 +0200 In-Reply-To: <20210628214147.256049-1-mark@klomp.org> (Mark Wielaard's message of "Mon, 28 Jun 2021 23:41:47 +0200") Message-ID: <87pmw53apr.fsf@arrakis.kataplop.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam_score: -1.0 X-Spam_bar: - X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-rust@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: gcc-rust mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2021 22:07:12 -0000 Hi, > Translating the AST LifetimeType to the HIR LifetimeType causes a warning: > warning: =E2=80=98ltt=E2=80=99 may be used uninitialized Was wondering why this is needed as the switch case covers all enum variants, how can ltt be uninitialized ? I have the same fix locally but was thinking something else was causing the error... Marc