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

https://gcc.gnu.org/g:674221a3b27f5455fddc793ec9aaf30a4d858ecb

commit 674221a3b27f5455fddc793ec9aaf30a4d858ecb
Merge: 5f0df4812c3 c8ee62ed453
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Wed Nov 3 15:54:51 2021 +0000

    Merge #791
    
    791: Replace TyTy::TupleType::iterate_fields with a new function get_fields r=philberty a=cls
    
    This PR replaces TyTy::TupleType::iterate_fields with a new function get_fields.
    
    In #735, `@philberty` mentions two possible implementations of get_fields, one that returns `std::vector<TyVar>&` and one that returns a new `std::vector<BaseType *>`. I've included two commits, the first doing the former and second going on to do the latter. I'm happy with one or both being merged.
    
    This is my first PR, so please let me know if I've missed anything! Thanks.
    
    Fixes #735
    
    Co-authored-by: Connor Lane Smith <cls@lubutu.com>

Diff:

 gcc/rust/typecheck/rust-tyty.cc | 10 +++++-----
 gcc/rust/typecheck/rust-tyty.h  |  9 +--------
 2 files changed, 6 insertions(+), 13 deletions(-)


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

only message in thread, other threads:[~2022-06-08 11:47 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:47 [gcc/devel/rust/master] Merge #791 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).