This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 7eaef4f5b19 gccrs: TyTy: refactor to new API new 44c58e29728 gccrs: TyTy: Common interface for fucntion-like types new 75e6d0cf415 gccrs: TyTy: SubstitutionRef cast specialization new c54326a8677 gccrs: BIR: Cleanup new 7b80033eaea gccrs: split rust-mangle.cc into two files new bffceda8b9a gccrs: Handle `async` qualifier inside trait new 81fcf1087cc gccrs: Generate error for `async` trait fucntions new c936a63cb75 gccrs: ast: Fix lifetime type parsing new 50f30592681 gccrs: ast: Unify explicitly and implicitly elided lifettimes new 6def638e66d gccrs: ast: Full lifetime elision handling new bc1a47f72de gccrs: ast: Infer static lifetime for const and static items new d8e8ad54938 gccrs: ast: Lower 'for' lifetimes new 14025f73596 gccrs: TyTy: Refactor FnType deprecated API new 8b7d6adbbb8 gccrs: Handle newlines during string parsing while lexing new f46fdb6399d gccrs: Handle `async` functions in traits new f7c8a712be2 gccrs: Fix inconsistent formatting new 7a0c487d2c5 gccrs: Handle `async` keyword for regular implementations new 88a27c3bc0f gccrs: Add improved error when a field is redefined in a st [...] new 1460044f87e gccrs: Unify storage of associated items in SingleASTNode new adb62fe2b46 gccrs: Added newline to get more readable lexdump new aed23b57114 gccrs: Test: fix missing lifetime in a test new 37d4cf48461 gccrs: AST: Fix for lifetime parsing new 4b13ec24b1a gccrs: AST: Fix for lifetime lowering new b49afa9ba4a gccrs: Test: check implemented for lifetime handling new c3ce1d6d872 gccrs: Add improved error when no fields in initializer new 1740fbe1dd6 gccrs: Remove TraitImplItem new 2a9881565c7 gccrs: Fix output line ending patterns.
The 26 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: gcc/rust/Make-lang.in | 2 + gcc/rust/ast/rust-ast-fragment.cc | 4 +- gcc/rust/ast/rust-ast-full-decls.h | 2 +- gcc/rust/ast/rust-ast.cc | 52 +- gcc/rust/ast/rust-ast.h | 53 +- gcc/rust/ast/rust-item.h | 22 +- gcc/rust/ast/rust-macro.h | 2 - gcc/rust/ast/rust-type.h | 2 +- gcc/rust/backend/rust-compile-expr.cc | 2 +- gcc/rust/backend/rust-mangle-legacy.cc | 164 ++++++ .../backend/{rust-mangle.cc => rust-mangle-v0.cc} | 195 +------ gcc/rust/backend/rust-mangle.cc | 648 +-------------------- gcc/rust/backend/rust-mangle.h | 8 + gcc/rust/checks/errors/borrowck/rust-bir-place.h | 2 +- .../checks/errors/borrowck/rust-borrow-checker.h | 3 +- gcc/rust/checks/errors/rust-ast-validation.cc | 18 +- gcc/rust/expand/rust-derive-clone.cc | 8 +- gcc/rust/expand/rust-derive-clone.h | 4 +- gcc/rust/expand/rust-expand-visitor.cc | 2 +- gcc/rust/hir/rust-ast-lower-base.cc | 14 +- gcc/rust/hir/rust-ast-lower-base.h | 3 +- gcc/rust/hir/rust-ast-lower-implitem.h | 3 +- gcc/rust/hir/rust-ast-lower-item.cc | 5 +- gcc/rust/hir/rust-ast-lower-type.cc | 56 +- gcc/rust/hir/rust-ast-lower-type.h | 12 +- gcc/rust/lex/rust-lex.cc | 42 +- gcc/rust/parse/rust-parse-impl.h | 86 +-- gcc/rust/parse/rust-parse.h | 12 +- gcc/rust/typecheck/rust-hir-type-check-expr.cc | 18 + .../typecheck/rust-hir-type-check-struct-field.h | 15 +- gcc/rust/typecheck/rust-hir-type-check-struct.cc | 138 ++++- gcc/rust/typecheck/rust-tyty-call.cc | 2 +- gcc/rust/typecheck/rust-tyty-cmp.h | 6 +- gcc/rust/typecheck/rust-tyty.cc | 2 +- gcc/rust/typecheck/rust-tyty.h | 193 +++++- gcc/rust/typecheck/rust-unify.cc | 6 +- gcc/testsuite/rust/compile/const_trait_fn.rs | 2 +- gcc/testsuite/rust/compile/for_lifetimes.rs | 19 + gcc/testsuite/rust/compile/issue-2187.rs | 11 + gcc/testsuite/rust/compile/issue-2767.rs | 13 + gcc/testsuite/rust/compile/issue-2785.rs | 9 + gcc/testsuite/rust/compile/issue-2788.rs | 10 + .../rust/compile/missing_constructor_fields.rs | 6 +- .../rust/compile/repeated_constructor_fields.rs | 10 + .../rust/compile/torture/utf8_identifiers.rs | 2 +- .../rust/execute/torture/builtin_macros1.rs | 2 +- gcc/testsuite/rust/execute/torture/coercion3.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-2080.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-2179.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-2180.rs | 2 +- .../torture/{helloworld2.rs => issue-2187.rs} | 14 +- gcc/testsuite/rust/execute/torture/iter1.rs | 2 +- 52 files changed, 850 insertions(+), 1064 deletions(-) create mode 100644 gcc/rust/backend/rust-mangle-legacy.cc copy gcc/rust/backend/{rust-mangle.cc => rust-mangle-v0.cc} (71%) create mode 100644 gcc/testsuite/rust/compile/for_lifetimes.rs create mode 100644 gcc/testsuite/rust/compile/issue-2187.rs create mode 100644 gcc/testsuite/rust/compile/issue-2767.rs create mode 100644 gcc/testsuite/rust/compile/issue-2785.rs create mode 100644 gcc/testsuite/rust/compile/issue-2788.rs create mode 100644 gcc/testsuite/rust/compile/repeated_constructor_fields.rs copy gcc/testsuite/rust/execute/torture/{helloworld2.rs => issue-2187.rs} (50%)