public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/rust/master] Merge #1312
Date: Wed, 15 Jun 2022 07:00:58 +0000 (GMT)	[thread overview]
Message-ID: <20220615070058.23B0E385740B@sourceware.org> (raw)

https://gcc.gnu.org/g:44f2de02d478b5d3defa5f091ee6504fa5d2e2e6

commit 44f2de02d478b5d3defa5f091ee6504fa5d2e2e6
Merge: 61e95a9bf6d 8e22742c9ad
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Tue Jun 14 18:44:26 2022 +0000

    Merge #1312
    
    1312: Refactor generic parameter parsing and report order errors r=CohenArthur a=CohenArthur
    
    Closes #1311
    
    This allows us to parse lifetimes and types (and later const generics)
    in any order without necessarily erroring out for the wrong reason. It also simplifies the
    code greatly and makes it easier to modify.
    
    This also removes an unused duplicate `parse_generic_params` function
    
    Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>

Diff:

 gcc/rust/ast/rust-ast.h                  |  11 +
 gcc/rust/ast/rust-item.h                 |   2 +
 gcc/rust/parse/rust-parse-impl.h         | 403 +++++++------------------------
 gcc/rust/parse/rust-parse.h              |   4 +-
 gcc/testsuite/rust/compile/generics13.rs |   1 +
 5 files changed, 106 insertions(+), 315 deletions(-)


                 reply	other threads:[~2022-06-15  7:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220615070058.23B0E385740B@sourceware.org \
    --to=tschwinge@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).