This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch devel/rust/master in repository gcc.
from ddde0cfaaae Merge commit 'cbe93dfa4d41d5a131b53bd3f97c973939f98ae6' int [...] new 4fc72ffbbae libproc_macro: Add license headers new 50583d42838 libproc_macro: Add Literal type new da0553bcbfa libproc_macro: Add literal ffi implementations new 4d1bb3df100 libproc_macro: Drop function shall take a mutable new 9b5f58352b3 libproc_macro: Put literal members in namespace new 4f7461b1fdb libproc_macro: Add member functions to Literal new 74b4d6ddf67 gccrs: Lower ErrorPropagationExpr from AST to HIR new ab4931bf811 gccrs: Add testcase to show matching of enum variants new 3013c408b0d Implement Dump:visit() function for QualifiedPathInType argument. new 428a31804b8 Add error message for AltPattern in let statements new 82e26f83621 parser: Parse reference patterns correctly new 2078d8dd839 Deleted the as_string ASR and HIR dumps new 81544c23785 libproc_macro: Add ident implementation new a3978a75914 libproc_macro: Change drop rust interface new 3fb63250eaf libproc_macro: Add named constructor new 52e4af4f391 libproc_macro: Add namespace to Ident new a6d4d0bbeae libproc_macro: Add Punct struct new 67905463cbc Fix translation mistakes 2023 in GCC/Rust [PR108890] new 4984dd59b6b libproc_macro: Add remaining tokenstream structs. new bf75c15d405 libproc_macro: Add drop function on Ident struct new ca50a4f3a66 libproc_macro: Add drop function to Literal struct new dc89a98af04 libproc_macro: Add remaining drop functions new bfc2f58e1ed libproc_macro: Implement Drop for TokenStream new aa108c21644 libproc_macro: Fix literal drop function new 125c236e2a7 Resolve identifier-pattern struct pattern fields new 68df05cf10e ci: Add libgrust to clang-format checker new e70fbab606b patterns: Add execution testcases to verify proper pattern [...] new 04fad308c62 gccrs: Fix memory corruption at peek_context new b0f0ed00974 gccrs: minor refactor to reuse a variable instead of recrea [...] new aa67a856e7e gccrs: Add get_defid helper to TypeCheckContextItem new c630493edcd gccrs: add helper to check for a const or static context new 198f98ec04c gccrs: add error state to TypeCheckContextItem and missing [...] new 34a5eebc1b9 gccrs: Track Self properly with TypePredicateBounds new ddcd571a67f gccrs: Fix ICE during method resolution new 028a5bb8ed1 gccrs: Fix ICE in assignment of error type bound predicates new 8f668045852 gccrs: enable -Winfinite-recursion warnings by default new 727056301b2 gccrs: fix ICE with recursive function calls new 83e971d908b gccrs: remove unused includes new dd0677cf09c gccrs: Fix ICE when we dont get a reference type new 419e1cff110 gccrs: remove unused header new a14731ddb6e gccrs: Add mechanism use pattern information to improve type info new f26be61bf06 gccrs: Add missing ABI mapping new 9b3028c01e2 gccrs: Add missing ABI checking on function types new e68922cb640 Fix -frust-dump-* error messages new d2df050bd43 gccrs: Minor tuning in AST dump new 8b6d44ad421 Add accessors to HIR::StructPatternFieldIdentPat new b5a7e8d10b3 gccrs: Add missing TypeBoundWhereClauseItem::get_locus new 5dfcde3b497 gccrs: Add missing where clause lowering for Impl functions new ca1f50ba61b gccrs: resolve the associated_predicate when mapping Fn traits new 4051d11a7d0 Lower StructPatternFieldIdentPat new 48510f443fa Type check StructPatternFieldIdentPat new c13032e55c0 gccrs: Extract helper lookup_associated_impl_block new 187f4b9eb89 gccrs: qualified path syntax is used to disambiguate predicates new aaf7336dfae gccrs: Improve operator overload check for recursive overload new fef6c560017 Fix infinite loop with parsing invalid generic parameters new 1fb32d7293b cli: Add frust-extern option
The 56 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .github/workflows/clang-format.yml | 2 +- gcc/rust/ast/rust-ast-dump.cc | 23 +- gcc/rust/backend/rust-compile-implitem.h | 2 - gcc/rust/backend/rust-compile-item.cc | 14 +- gcc/rust/hir/rust-ast-lower-expr.cc | 15 ++ gcc/rust/hir/rust-ast-lower-expr.h | 1 + gcc/rust/hir/rust-ast-lower-implitem.h | 16 ++ gcc/rust/hir/rust-ast-lower-pattern.cc | 27 +- gcc/rust/hir/rust-ast-lower-pattern.h | 4 +- gcc/rust/hir/rust-ast-lower-stmt.cc | 2 +- gcc/rust/hir/tree/rust-hir-item.h | 2 + gcc/rust/hir/tree/rust-hir-pattern.h | 6 + gcc/rust/lang.opt | 20 +- gcc/rust/parse/rust-parse-impl.h | 13 +- gcc/rust/resolve/rust-ast-resolve-pattern.cc | 6 +- gcc/rust/rust-lang.cc | 2 + gcc/rust/rust-session-manager.cc | 74 ++---- gcc/rust/rust-session-manager.h | 7 +- gcc/rust/typecheck/rust-autoderef.cc | 2 +- gcc/rust/typecheck/rust-hir-dot-operator.cc | 6 +- gcc/rust/typecheck/rust-hir-trait-reference.cc | 11 +- gcc/rust/typecheck/rust-hir-trait-reference.h | 6 +- gcc/rust/typecheck/rust-hir-trait-resolve.cc | 28 +- gcc/rust/typecheck/rust-hir-type-check-base.h | 3 +- gcc/rust/typecheck/rust-hir-type-check-expr.cc | 132 ++++++---- gcc/rust/typecheck/rust-hir-type-check-expr.h | 4 +- gcc/rust/typecheck/rust-hir-type-check-item.cc | 10 +- gcc/rust/typecheck/rust-hir-type-check-path.cc | 137 ++++++---- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 137 +++++++++- gcc/rust/typecheck/rust-hir-type-check-pattern.h | 25 +- gcc/rust/typecheck/rust-hir-type-check-type.cc | 40 ++- gcc/rust/typecheck/rust-hir-type-check.h | 15 +- gcc/rust/typecheck/rust-type-util.cc | 108 ++++++++ gcc/rust/typecheck/rust-type-util.h | 10 +- gcc/rust/typecheck/rust-typecheck-context.cc | 98 ++++++- gcc/rust/typecheck/rust-tyty-bounds.cc | 86 +++++- gcc/rust/typecheck/rust-tyty-bounds.h | 3 + gcc/rust/typecheck/rust-tyty-subst.cc | 153 ++--------- gcc/rust/typecheck/rust-tyty-subst.h | 4 - gcc/rust/typecheck/rust-tyty.h | 5 +- gcc/rust/typecheck/rust-unify.cc | 25 ++ gcc/rust/typecheck/rust-unify.h | 2 + gcc/rust/util/rust-abi.cc | 2 + gcc/testsuite/rust/compile/issue-1524.rs | 2 +- gcc/testsuite/rust/compile/issue-1807.rs | 6 + gcc/testsuite/rust/compile/issue-1893.rs | 1 + gcc/testsuite/rust/compile/issue-2106.rs | 15 ++ gcc/testsuite/rust/compile/issue-2125.rs | 2 + gcc/testsuite/rust/compile/issue-2135.rs | 19 ++ gcc/testsuite/rust/compile/issue-2136-1.rs | 14 + gcc/testsuite/rust/compile/issue-2136-2.rs | 13 + gcc/testsuite/rust/compile/issue-2139.rs | 16 ++ .../issue-2052.rs => compile/issue-2142.rs} | 9 +- .../torture/issue-858.rs => compile/issue-852.rs} | 12 +- gcc/testsuite/rust/compile/let_alt.rs | 4 + gcc/testsuite/rust/compile/traits12.rs | 2 +- .../rust/compile/unconstrained_type_param.rs | 5 +- gcc/testsuite/rust/execute/torture/issue-1852-1.rs | 15 ++ gcc/testsuite/rust/execute/torture/issue-1852.rs | 15 ++ libgrust/libproc_macro/Makefile.am | 8 +- libgrust/libproc_macro/Makefile.in | 17 +- .../libproc_macro/group.cc | 28 +- .../ios-inst.cc => libgrust/libproc_macro/group.h | 41 +-- libgrust/libproc_macro/ident.cc | 86 ++++++ .../std/random => libgrust/libproc_macro/ident.h | 64 +++-- libgrust/libproc_macro/literal.cc | 291 +++++++++++++++++++++ libgrust/libproc_macro/literal.h | 211 +++++++++++++++ libgrust/libproc_macro/proc_macro.cc | 28 +- libgrust/libproc_macro/proc_macro.h | 25 +- .../libproc_macro/punct.cc | 22 +- .../libproc_macro/punct.h | 41 +-- libgrust/libproc_macro/rust/bridge/ident.rs | 4 +- libgrust/libproc_macro/rust/bridge/literal.rs | 4 +- libgrust/libproc_macro/rust/bridge/token_stream.rs | 7 + libgrust/libproc_macro/tokenstream.cc | 119 +++++++++ libgrust/libproc_macro/tokenstream.h | 77 ++++++ libgrust/libproc_macro/tokentree.cc | 78 ++++++ .../cwctype => libgrust/libproc_macro/tokentree.h | 61 +++-- 78 files changed, 2122 insertions(+), 528 deletions(-) create mode 100644 gcc/testsuite/rust/compile/issue-1807.rs create mode 100644 gcc/testsuite/rust/compile/issue-2106.rs create mode 100644 gcc/testsuite/rust/compile/issue-2125.rs create mode 100644 gcc/testsuite/rust/compile/issue-2135.rs create mode 100644 gcc/testsuite/rust/compile/issue-2136-1.rs create mode 100644 gcc/testsuite/rust/compile/issue-2136-2.rs create mode 100644 gcc/testsuite/rust/compile/issue-2139.rs copy gcc/testsuite/rust/{execute/torture/issue-2052.rs => compile/issue-2142.rs} (68%) copy gcc/testsuite/rust/{execute/torture/issue-858.rs => compile/issue-852.rs} (78%) create mode 100644 gcc/testsuite/rust/compile/let_alt.rs create mode 100644 gcc/testsuite/rust/execute/torture/issue-1852-1.rs create mode 100644 gcc/testsuite/rust/execute/torture/issue-1852.rs copy libstdc++-v3/src/c++98/hashtable_tr1.cc => libgrust/libproc_macro/group.cc (71%) copy libstdc++-v3/src/c++11/ios-inst.cc => libgrust/libproc_macro/group.h (64%) create mode 100644 libgrust/libproc_macro/ident.cc copy libstdc++-v3/include/std/random => libgrust/libproc_macro/ident.h (53%) create mode 100644 libgrust/libproc_macro/literal.cc create mode 100644 libgrust/libproc_macro/literal.h copy libstdc++-v3/src/c++98/cow-istream-string.cc => libgrust/libproc_macro/punct. [...] copy libstdc++-v3/src/c++98/parallel_settings.cc => libgrust/libproc_macro/punct.h (68%) create mode 100644 libgrust/libproc_macro/tokenstream.cc create mode 100644 libgrust/libproc_macro/tokenstream.h create mode 100644 libgrust/libproc_macro/tokentree.cc copy libstdc++-v3/include/tr1/cwctype => libgrust/libproc_macro/tokentree.h (52%)