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 3cedc655c29 Merge #1596 new 15229ea41fa dump: Dump macro rules definition new dfb5921b765 Merge #1549 new 4f2c1499fea ast: Refactor ASTFragment -> Fragment class new 540d896c3fa rust: Replace uses of ASTFragment -> Fragment new 89490980726 ast: Improve Fragment API new 60b21d2f58f Merge #1607 new a28e7dcb463 Add missing fn_once_output langitem new 851b9e14585 Refactor expression hir lowering into cc file new 5f25f457eca Add hir lowering of closure expressions new 8e2d13922fb Formatting cleanup in HIR lowering pattern new 8c4cf085d9a Add name resolution for closures new 662a7a90305 Refactor method call type checking new e637c0445bc Add closures to lints and error checking new feaa40602b7 Initial Type resolution for closures new 678bf852435 Closure support at CallExpr new 8e09dfb538d Add missing name resolution to Function type-path segments new d3966925340 Add missing hir lowering to function type-path segments new f6f87dead4b Add missing type resolution for function type segments new 05bd0555fa3 Support Closure calls as generic trait bounds new 490aa25d556 Merge #1608
The 20 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 | 3 + gcc/rust/ast/rust-ast-dump.cc | 126 +++- gcc/rust/ast/rust-ast-dump.h | 16 +- gcc/rust/ast/rust-ast-fragment.cc | 171 +++++ gcc/rust/ast/rust-ast-fragment.h | 118 +++ gcc/rust/ast/rust-ast.h | 132 ---- gcc/rust/ast/rust-expr.h | 9 +- gcc/rust/ast/rust-macro.h | 19 +- gcc/rust/ast/rust-path.h | 2 + gcc/rust/backend/rust-compile-block.h | 6 +- gcc/rust/backend/rust-compile-context.h | 31 + gcc/rust/backend/rust-compile-expr.cc | 306 +++++++- gcc/rust/backend/rust-compile-expr.h | 16 +- gcc/rust/backend/rust-compile-type.cc | 10 +- gcc/rust/backend/rust-mangle.cc | 6 + gcc/rust/backend/rust-tree.h | 5 + .../checks/errors/privacy/rust-privacy-reporter.cc | 8 +- .../checks/errors/privacy/rust-privacy-reporter.h | 3 +- gcc/rust/checks/errors/rust-const-checker.cc | 10 +- gcc/rust/checks/errors/rust-const-checker.h | 3 +- gcc/rust/checks/errors/rust-unsafe-checker.cc | 10 +- gcc/rust/checks/errors/rust-unsafe-checker.h | 3 +- gcc/rust/checks/lints/rust-lint-marklive.h | 5 + gcc/rust/expand/rust-attribute-visitor.h | 4 +- gcc/rust/expand/rust-macro-builtins.cc | 72 +- gcc/rust/expand/rust-macro-builtins.h | 40 +- gcc/rust/expand/rust-macro-expand.cc | 42 +- gcc/rust/expand/rust-macro-expand.h | 23 +- gcc/rust/hir/rust-ast-lower-base.cc | 113 --- gcc/rust/hir/rust-ast-lower-base.h | 2 + gcc/rust/hir/rust-ast-lower-expr.cc | 810 +++++++++++++++++++++ gcc/rust/hir/rust-ast-lower-expr.h | 746 ++----------------- gcc/rust/hir/rust-ast-lower-pattern.cc | 18 + gcc/rust/hir/rust-ast-lower-pattern.h | 24 +- gcc/rust/hir/rust-ast-lower-type.cc | 232 ++++++ gcc/rust/hir/rust-ast-lower-type.h | 63 +- gcc/rust/hir/rust-ast-lower.cc | 23 + gcc/rust/hir/rust-hir-dump.cc | 6 +- gcc/rust/hir/rust-hir-dump.h | 3 +- gcc/rust/hir/tree/rust-hir-expr.h | 213 +++--- gcc/rust/hir/tree/rust-hir-full-decls.h | 2 - gcc/rust/hir/tree/rust-hir-full-test.cc | 37 +- gcc/rust/hir/tree/rust-hir-path.h | 68 +- gcc/rust/hir/tree/rust-hir-visitor.h | 9 +- gcc/rust/hir/tree/rust-hir.h | 1 + gcc/rust/resolve/rust-ast-resolve-expr.cc | 58 ++ gcc/rust/resolve/rust-ast-resolve-expr.h | 48 +- gcc/rust/resolve/rust-ast-resolve-type.cc | 15 +- gcc/rust/typecheck/rust-hir-type-check-expr.cc | 315 +++++++- gcc/rust/typecheck/rust-hir-type-check-expr.h | 10 +- gcc/rust/typecheck/rust-hir-type-check.h | 2 + gcc/rust/typecheck/rust-tyctx.cc | 32 + gcc/rust/typecheck/rust-tyty-bounds.cc | 69 +- gcc/rust/typecheck/rust-tyty-call.cc | 98 ++- gcc/rust/typecheck/rust-tyty-call.h | 79 +- gcc/rust/typecheck/rust-tyty-cmp.h | 23 + gcc/rust/typecheck/rust-tyty-rules.h | 40 +- gcc/rust/typecheck/rust-tyty.cc | 71 +- gcc/rust/typecheck/rust-tyty.h | 38 +- gcc/rust/util/rust-hir-map.cc | 4 +- gcc/rust/util/rust-lang-item.h | 7 + gcc/testsuite/rust/execute/torture/closure1.rs | 18 + gcc/testsuite/rust/execute/torture/closure2.rs | 32 + 63 files changed, 2976 insertions(+), 1552 deletions(-) create mode 100644 gcc/rust/ast/rust-ast-fragment.cc create mode 100644 gcc/rust/ast/rust-ast-fragment.h create mode 100644 gcc/rust/hir/rust-ast-lower-expr.cc create mode 100644 gcc/rust/hir/rust-ast-lower-type.cc create mode 100644 gcc/testsuite/rust/execute/torture/closure1.rs create mode 100644 gcc/testsuite/rust/execute/torture/closure2.rs