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 4f76aad18b2 Fix `FeatureGate::gate` will crash on 32-bit x86. new 9024d99f5b7 Lower AltPattern new 43d1fc6c8f0 rust-imports: Fix last few mentions of Go. new b623cb99ac1 ast: Dump each MacroRule properly without the extra semicolon new 7d38d01886d ci: check Signed-off-by lines (and others) are at the end new c6c02b9135e gccrs: Fix bad type inference new 03bce1d0847 gccrs: Fix ICE on parsing trait object missing dyn keyword new 7b14e6eecbb Revert "hir: Add ExportedMacro node and handling." new a3e7bde5b0a mappings: Keep exported macro IDs new 2b52571e8aa lowering: Add lowering of exported macros new e10e882ddf3 expand: Move cfg-attrs related functions out of MacroExpander new 267d80f146d expand: Add new ExpandVisitor class new 3eb5dcb67c4 expand: Rename AttrVisitor -> CfgStrip new c5427467abb gccrs: Fix bad cast error to bool new 5148f044c62 Remove commented out TuplePatternItemsSingle new 649af3ed287 ast: Refactor rust-ast-lower-type.h to source file new 9af9a69367f ast: Fix location for pub(crate) new ff4d4570b44 resolver: Allow SimplePath to resolve to their root segment new 70b889b90ae privacy: Check for pub(crate) when resolving visibility path. new 87a0a8f84f5 docker: Do not run update-alternatives on invalid path new 0ddec9f44d6 Fix parsing of array expressions.
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: .github/workflows/commit-format.yml | 20 +- Dockerfile | 5 - gcc/rust/Make-lang.in | 3 +- gcc/rust/ast/rust-ast-dump.cc | 1 - gcc/rust/ast/rust-ast.h | 2 +- gcc/rust/ast/rust-item.h | 2 +- gcc/rust/ast/rust-pattern.h | 35 - gcc/rust/backend/rust-compile-item.h | 1 - gcc/rust/backend/rust-compile-stmt.h | 1 - .../checks/errors/privacy/rust-privacy-reporter.cc | 4 - .../checks/errors/privacy/rust-privacy-reporter.h | 1 - .../errors/privacy/rust-pub-restricted-visitor.cc | 7 - .../errors/privacy/rust-pub-restricted-visitor.h | 1 - .../checks/errors/privacy/rust-reachability.cc | 4 - gcc/rust/checks/errors/privacy/rust-reachability.h | 1 - .../errors/privacy/rust-visibility-resolver.cc | 16 +- .../errors/privacy/rust-visibility-resolver.h | 1 - gcc/rust/checks/errors/rust-const-checker.cc | 4 - gcc/rust/checks/errors/rust-const-checker.h | 1 - gcc/rust/checks/errors/rust-unsafe-checker.cc | 4 - gcc/rust/checks/errors/rust-unsafe-checker.h | 1 - ...rust-attribute-visitor.cc => rust-cfg-strip.cc} | 1174 ++++++++--------- .../{rust-attribute-visitor.h => rust-cfg-strip.h} | 96 +- gcc/rust/expand/rust-expand-visitor.cc | 1340 ++++++++++++++++++++ ...t-attribute-visitor.h => rust-expand-visitor.h} | 93 +- gcc/rust/expand/rust-macro-builtins.cc | 2 +- gcc/rust/expand/rust-macro-expand.cc | 117 +- gcc/rust/expand/rust-macro-expand.h | 6 +- gcc/rust/hir/rust-ast-lower-base.cc | 16 + gcc/rust/hir/rust-ast-lower-base.h | 3 + gcc/rust/hir/rust-ast-lower-item.cc | 18 +- gcc/rust/hir/rust-ast-lower-item.h | 2 +- gcc/rust/hir/rust-ast-lower-pattern.cc | 20 + gcc/rust/hir/rust-ast-lower-pattern.h | 1 + gcc/rust/hir/rust-ast-lower-stmt.cc | 10 +- gcc/rust/hir/rust-ast-lower-stmt.h | 1 + gcc/rust/hir/rust-ast-lower-type.cc | 383 ++++++ gcc/rust/hir/rust-ast-lower-type.h | 387 +----- gcc/rust/hir/rust-ast-lower.cc | 15 +- gcc/rust/hir/rust-hir-dump.cc | 3 - gcc/rust/hir/rust-hir-dump.h | 1 - gcc/rust/hir/tree/rust-hir-full-decls.h | 3 - gcc/rust/hir/tree/rust-hir-item.h | 21 - gcc/rust/hir/tree/rust-hir-visitor.h | 4 - gcc/rust/hir/tree/rust-hir.cc | 36 - gcc/rust/hir/tree/rust-hir.h | 1 - gcc/rust/metadata/rust-export-metadata.cc | 19 +- gcc/rust/metadata/rust-export-metadata.h | 8 +- gcc/rust/metadata/rust-imports.cc | 7 +- gcc/rust/parse/rust-parse-impl.h | 3 - gcc/rust/resolve/rust-ast-resolve-path.cc | 4 + gcc/rust/rust-session-manager.cc | 7 +- gcc/rust/typecheck/rust-casts.cc | 1 - gcc/rust/typecheck/rust-hir-trait-resolve.cc | 37 +- gcc/rust/typecheck/rust-hir-type-check-item.cc | 12 +- gcc/rust/typecheck/rust-hir-type-check-item.h | 1 - gcc/rust/typecheck/rust-hir-type-check-stmt.cc | 4 - gcc/rust/typecheck/rust-hir-type-check-stmt.h | 1 - gcc/rust/typecheck/rust-tycheck-dump.h | 2 - gcc/rust/util/rust-attributes.cc | 1 - gcc/rust/util/rust-hir-map.cc | 12 + gcc/rust/util/rust-hir-map.h | 4 + gcc/testsuite/rust/compile/array4.rs | 3 + gcc/testsuite/rust/compile/cast4.rs | 5 + gcc/testsuite/rust/compile/issue-1893.rs | 42 + gcc/testsuite/rust/compile/issue-2037.rs | 13 + gcc/testsuite/rust/compile/macro49.rs | 9 + gcc/testsuite/rust/compile/macro50.rs | 10 + gcc/testsuite/rust/compile/privacy8.rs | 1 + gcc/testsuite/rust/execute/torture/arrays.rs | 3 + 70 files changed, 2639 insertions(+), 1438 deletions(-) rename gcc/rust/expand/{rust-attribute-visitor.cc => rust-cfg-strip.cc} (73%) copy gcc/rust/expand/{rust-attribute-visitor.h => rust-cfg-strip.h} (79%) create mode 100644 gcc/rust/expand/rust-expand-visitor.cc rename gcc/rust/expand/{rust-attribute-visitor.h => rust-expand-visitor.h} (85%) create mode 100644 gcc/testsuite/rust/compile/array4.rs create mode 100644 gcc/testsuite/rust/compile/cast4.rs create mode 100644 gcc/testsuite/rust/compile/issue-1893.rs create mode 100644 gcc/testsuite/rust/compile/issue-2037.rs create mode 100644 gcc/testsuite/rust/compile/macro49.rs create mode 100644 gcc/testsuite/rust/compile/macro50.rs create mode 100644 gcc/testsuite/rust/compile/privacy8.rs create mode 100644 gcc/testsuite/rust/execute/torture/arrays.rs