From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 01E5F3839047; Tue, 30 Aug 2022 13:43:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01E5F3839047 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661866993; bh=Vu01pOcUURidlg4yIkhMQ+SbBDuSn8yE10LG9acxDXc=; h=From:To:Subject:Date:From; b=CuO3aoIhGgEi5YQMAJnAWX0N+WaWfFVl7qFrsn//rJji2hTI6yw/dPjf51BqAQGSz xDcKa1SYCdgSY9nS5SE+HbY6hRtD1sYH2G2zi4g0pruH1YNrBdHgQuIa7iHVgQ3Bt1 YEbiEIGAykCUp4h+6M9LxiKhBq50XsS0o5nO+Mrw= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1515 #1516 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: be5e11036ef4c292397661a3135825acef9dc2df X-Git-Newrev: 017be6aeb8f3803a26cf11ef633ce24fca7749b8 Message-Id: <20220830134313.01E5F3839047@sourceware.org> Date: Tue, 30 Aug 2022 13:43:13 +0000 (GMT) List-Id: https://gcc.gnu.org/g:017be6aeb8f3803a26cf11ef633ce24fca7749b8 commit 017be6aeb8f3803a26cf11ef633ce24fca7749b8 Merge: be5e11036ef 8dfa9676db0 b376c0cb37c Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Tue Aug 30 09:41:27 2022 +0000 Merge #1515 #1516 1515: transcriber: Do not infinite loop if the current parsed node is an error r=CohenArthur a=CohenArthur 1516: parser: Parse RangeFullExpr without erroring out r=CohenArthur a=CohenArthur Previously the parser would emit the errors despite later allowing the parsed expression to be null. Co-authored-by: Arthur Cohen Diff: gcc/rust/expand/rust-macro-expand.cc | 8 ++++++++ gcc/rust/parse/rust-parse-impl.h | 6 +++++- gcc/testsuite/rust/compile/parse_range.rs | 9 +++++++++ 3 files changed, 22 insertions(+), 1 deletion(-)