public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1312
@ 2022-06-15  7:00 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-15  7:00 UTC (permalink / raw)
  To: gcc-cvs

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(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-15  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15  7:00 [gcc/devel/rust/master] Merge #1312 Thomas Schwinge

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).