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

https://gcc.gnu.org/g:9666f2b169b5192b5c827d605cc80e6987e1aac5

commit 9666f2b169b5192b5c827d605cc80e6987e1aac5
Merge: e39fadcd0aa 31dd14e197c
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Mon Dec 5 01:22:10 2022 +0000

    Merge #1632
    
    1632: Fix mac-os regression in apply generic arguments to method calls r=philberty a=philberty
    
    When applying generic arguments to method calls such as:
    
    ```receiver.method_name<i32, bool>()```
    
    This ended up wrongly using the default constructor with an empty generic arguments which seems
    like a possible bug in the new version of clang. This explicitly sets up all relevant copy constructors
    for HIR::PathExprSegment and removes the defaults.
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/hir/tree/rust-hir-expr.h              |  3 ++-
 gcc/rust/hir/tree/rust-hir-full-decls.h        |  2 +-
 gcc/rust/hir/tree/rust-hir-path.h              | 37 +++++++++++++++++++-------
 gcc/rust/typecheck/rust-hir-type-check-expr.cc |  5 ++--
 gcc/rust/typecheck/rust-tyty.h                 |  4 +++
 gcc/testsuite/rust/debug/chartype.rs           | 15 ++++++-----
 6 files changed, 46 insertions(+), 20 deletions(-)

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

only message in thread, other threads:[~2022-12-05  9:53 UTC | newest]

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