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

https://gcc.gnu.org/g:de1ed2e805cc7de7ab29b5e183354bae86173669

commit de1ed2e805cc7de7ab29b5e183354bae86173669
Merge: 8507a688834 4d70990b838
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu Dec 16 13:08:09 2021 +0000

    Merge #838
    
    838: Add mssing mappings to HIR::Pattern r=philberty a=philberty
    
    These mappings are missing within the HIR but are required
    to complete typechecking of all patterns in match arms. As the
    fields of structures must bind their associated field's types to new
    names declared as part of the pattern, these mappings give access
    to the associated name-resolved NodeId's to figure this out.
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/hir/rust-ast-lower-pattern.cc            |  30 ++-
 gcc/rust/hir/rust-ast-lower-pattern.h             |  20 +-
 gcc/rust/hir/tree/rust-hir-path.h                 |  10 +
 gcc/rust/hir/tree/rust-hir-pattern.h              | 250 +++++++++++++++++-----
 gcc/rust/hir/tree/rust-hir.h                      |   2 +
 gcc/rust/typecheck/rust-hir-type-check-implitem.h |  16 +-
 gcc/rust/typecheck/rust-hir-type-check.cc         |   9 +-
 gcc/rust/util/rust-hir-map.cc                     |  23 ++
 gcc/rust/util/rust-hir-map.h                      |  42 ++--
 9 files changed, 325 insertions(+), 77 deletions(-)


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

only message in thread, other threads:[~2022-06-08 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 11:57 [gcc/devel/rust/master] Merge #838 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).