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 2b74b5cb755 Handle const generic parameters during resolution 2.0 new 20ef2821922 Use name resolver 2.0 in MarkLive new d833d233c20 Make const references to ForeverStack more useful new bcc83c32a74 Load unloaded modules during toplevel resolution 2.0 new 120b23495f5 Use name resolver 2.0 in const checker new b7eb4b0af5e Use name resolver 2.0 for compiling break/continue new e7de54ddae5 Use name resolver 2.0 in pattern checker new d222c9356e4 Handle external static items in toplevel resolver 2.0 new 8f23349aaf7 gccrs: Fix bad recursive operator overload call new daa5fd37138 Insert trait names during toplevel resolution 2.0 new e52fa08837f Fix variable shadowing in late resolution 2.0 new 7a23231a7b9 Add a newline to the end of nr2/exclude new 549fe6d3a01 Rename some PathIdentSegment functions new f9f690f500d Use name resolution 2.0 in TraitItemReference new 98f04ecc1c3 Use name resolver 2.0 in CompileTraitItem new c220250e93a Improve path handling while testing name resolution 2.0 new 4564a4f1591 Fix name resolution 2.0 definition lookups in unsafe checker new 5fe9110bbf4 rust: Desugar IfLet* into MatchExpr new 5ad1d886a97 Use name resolution 2.0 in TraitResolver new d800490dd99 Resolve SelfParam in name resolution 2.0
The 19 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/ast/rust-ast-collector.cc | 8 +- gcc/rust/ast/rust-path.h | 31 ++-- gcc/rust/backend/rust-compile-block.h | 4 - gcc/rust/backend/rust-compile-expr.cc | 41 ++++- gcc/rust/backend/rust-compile-expr.h | 2 - gcc/rust/backend/rust-compile-implitem.cc | 36 ++++- .../errors/borrowck/rust-bir-builder-expr-stmt.cc | 12 -- .../errors/borrowck/rust-bir-builder-expr-stmt.h | 2 - .../borrowck/rust-bir-builder-lazyboolexpr.h | 8 - .../errors/borrowck/rust-bir-builder-struct.h | 2 - .../errors/borrowck/rust-function-collector.h | 2 - .../checks/errors/privacy/rust-privacy-reporter.cc | 15 -- .../checks/errors/privacy/rust-privacy-reporter.h | 2 - gcc/rust/checks/errors/rust-const-checker.cc | 32 ++-- gcc/rust/checks/errors/rust-const-checker.h | 2 - .../checks/errors/rust-hir-pattern-analysis.cc | 32 ++-- gcc/rust/checks/errors/rust-hir-pattern-analysis.h | 2 - gcc/rust/checks/errors/rust-unsafe-checker.cc | 58 ++++--- gcc/rust/checks/errors/rust-unsafe-checker.h | 2 - gcc/rust/checks/lints/rust-lint-marklive.cc | 31 +++- gcc/rust/hir/rust-ast-lower-block.h | 11 +- gcc/rust/hir/rust-ast-lower.cc | 144 +++++++++++++---- gcc/rust/hir/rust-ast-lower.h | 5 + gcc/rust/hir/rust-hir-dump.cc | 28 ---- gcc/rust/hir/rust-hir-dump.h | 3 - gcc/rust/hir/tree/rust-hir-expr.h | 176 +-------------------- gcc/rust/hir/tree/rust-hir-full-decls.h | 2 - gcc/rust/hir/tree/rust-hir-visitor.h | 6 - gcc/rust/hir/tree/rust-hir.cc | 59 ------- gcc/rust/hir/tree/rust-hir.h | 1 - gcc/rust/resolve/rust-forever-stack.h | 15 +- gcc/rust/resolve/rust-forever-stack.hxx | 91 ++++++++++- gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 22 ++- gcc/rust/resolve/rust-late-name-resolver-2.0.h | 1 + .../resolve/rust-toplevel-name-resolver-2.0.cc | 21 +++ gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 1 + gcc/rust/typecheck/rust-hir-trait-reference.h | 2 + gcc/rust/typecheck/rust-hir-trait-resolve.cc | 30 +++- gcc/rust/typecheck/rust-hir-type-check-expr.cc | 82 ++-------- gcc/rust/typecheck/rust-hir-type-check-expr.h | 2 - gcc/rust/typecheck/rust-hir-type-check.cc | 23 ++- gcc/testsuite/rust/compile/if_let_expr.rs | 5 +- gcc/testsuite/rust/compile/if_let_expr_simple.rs | 12 ++ gcc/testsuite/rust/compile/iflet.rs | 32 ++++ gcc/testsuite/rust/compile/issue-3032-1.rs | 58 +++++++ gcc/testsuite/rust/compile/issue-3032-2.rs | 49 ++++++ gcc/testsuite/rust/compile/nr2/compile.exp | 18 +-- gcc/testsuite/rust/compile/nr2/exclude | 32 +--- gcc/testsuite/rust/execute/torture/iflet.rs | 84 ++++++++++ 49 files changed, 780 insertions(+), 559 deletions(-) create mode 100644 gcc/testsuite/rust/compile/if_let_expr_simple.rs create mode 100644 gcc/testsuite/rust/compile/iflet.rs create mode 100644 gcc/testsuite/rust/compile/issue-3032-1.rs create mode 100644 gcc/testsuite/rust/compile/issue-3032-2.rs create mode 100644 gcc/testsuite/rust/execute/torture/iflet.rs