This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 8576cdbb5a0 gccrs: Revert "hir: Add ExportedMacro node and handling." new 848bbbd7735 gccrs: mappings: Keep exported macro IDs new 9946ef210f4 gccrs: lowering: Add lowering of exported macros new a7382ca757e gccrs: expand: Move cfg-attrs related functions out of Macr [...] new d85089ea28c gccrs: expand: Add new ExpandVisitor class new 79d56acad2e gccrs: expand: Rename AttrVisitor -> CfgStrip new 41a104fadea gccrs: Fix bad cast error to bool new aca58573345 gccrs: Remove commented out TuplePatternItemsSingle new 8220e7b7be4 gccrs: ast: Refactor rust-ast-lower-type.h to source file new e61de6657d3 gccrs: ast: Fix location for pub(crate) new fe00e359111 gccrs: resolver: Allow SimplePath to resolve to their root segment new d1e329af311 gccrs: privacy: Check for pub(crate) when resolving visibil [...] new 7b2d86cad18 gccrs: Fix parsing of array expressions. new fc2ba3b929a gccrs: fix ICE when closure body is not a block new f7379085ae5 gccrs: libproc_macro: Add rust interface new 5973c1a7886 gccrs: fix ICE with bad match arm type new 18d87c5b201 gccrs: move missed testcase new e2755381698 gccrs: Add missing known attribute stable new e569436fe8c gccrs: Add test to show multiple candidates for methods is working new cf311c5324c gccrs: handle bare function types with no specified return type new 0bda940f991 gccrs: ast: Add conversion to token stream new e53b368887d gccrs: ast: Refactor and add some Path node visitors new a67e0b3efd4 gccrs: ast: Implement TokenStream visitor for meta nodes new 06dcc5fdf4d gccrs: ast: Add trailing comma formatting option new 2e08b1d26b8 gccrs: ast: Add some expr TokenStream visitors new 19c93b8286d gccrs: ast: Add Tokenstream visitors for loop expressions new ceee62dbd98 gccrs: ast: Implement remaining expr TokenStream visitor new 01886152b67 gccrs: ast: Add ExternCrate TokenStream visitor new 458fb22123e gccrs: ast: Add use declarations TokenStream visitors new 53074239fe9 gccrs: ast: Add Meta items TokenStream visitor new 547a27922a6 gccrs: ast: Add AltPattern TokenStream visitor new dfb5c148289 gccrs: ast: Add multiple formatting stub functions new ac013291868 gccrs: ast: Refactor SimplePath attribute name new 9761160120e gccrs: ast: Add TokenStream collect function new 1bc67e50e3f gccrs: ast: Add missing constructor implementation new 1a20b5b1165 gccrs: lex: Add source code token string representation new ecbbfce5c56 gccrs: session: Add tokenstream dump option new 7adb5516b58 gccrs: token: Add type hints to string dump new 75c87248972 gccrs: ast: Fix various TokenStream visitors new f4f50c7ce90 gccrs: privacy reporter should be permissive of error types new 048098d4446 gccrs: make distinction between error and empty for substut [...] new 299a2459663 gccrs: add missing name resolution to self params with spec [...] new cb424c7229b gccrs: Fix handling of generic arguments for lifetimes only new bdb4e2930ec gccrs: Fix bad cast as a char new 8bc2a3e40e8 gccrs: Handle "fn" and "fn_mut" lang items new 072d8e660bb gccrs: Fix ICE using constructors for intilizers in statics new 381a599ed11 gccrs: ast: Move rust-path implementation out of rust-ast new 721bc1b926b gccrs: ast: Move pattern implementation out of rust-ast new e2b0bc4a023 gccrs: ast: Fix tokenstream extern block statements new 1dcc60c25c2 gccrs: ast: Fix match case comma output new 9d8da7d1264 gccrs: ast: Fix char literal ICE new 44e67ceee62 gccrs: ast: Output inner attributes in tokenstreams new d8a7cee1ea6 gccrs: ast: Output union's outer attributes new 21c46e84e8b gccrs: ast: Fix attribute tokenstreams new 08ac705b215 gccrs: ast: Change visibility in token type new 5802178519f gccrs: ast: Visit crate inner attributes for tokenstreams new efb24f60a81 gccrs: ast: Fix macros in tokenstreams new 88c5d555553 gccrs: ast: Fix ICE on generic args path new 36b22e63907 gccrs: expand: Add derive expansion stubs new 0c985f7d309 gccrs: expand: Add inner attribute expansion stubs new 36bca0cc1bb gccrs: ast: Add outer attribute getter to Expr class new b0ab106df5f gccrs: expand: Add stub function for attribute expansion new 4210e02e822 gccrs: expand: Add call to outer attributes stubs new 895373dea12 gccrs: expand: Add builtin attribute identification new 874ebe30353 gccrs: expand: Add outer attribute expansion on expr new 0997c419a48 gccrs: cleanup resolve method address new 3a360b9481f gccrs: cleanup query_compile to reuse destructure call new 92641136c7e gccrs: remove unused code in query_compile new ae48f884387 gccrs: refactor resolve_method_address to be inside base class new 408e9c03105 gccrs: never re-setup trait item bound with a dyn object new df46f9ee7c7 gccrs: Support fully qualified calls to trait items from Ca [...] new 9a7a79ebafd gccrs: ast: Add difference between attributes new e64909cebf6 gccrs: Placate clang-format, 'gcc/rust/rust-lang.cc:grs_lan [...] new cd773704975 gccrs: Introduce AST::Visitable class for AST new 5444ed27a81 gccrs: ast: Fix inner attribute tokenstream new d88234af9ff gccrs: Unify AST::IfExprConseqIf{,Let} into AST::IfExprConseqElse new fb2c17fc1f2 gccrs: Move functionality into HIR::ExprStmt from deriving classes new d93a1f032db gccrs: Unify HIR::ExprStmt derived class visiting new e7312c67a71 gccrs: Fully unify deriving classes into HIR::ExprStmt new cd73752ad6d gccrs: Handle underscore in MacroMatch. new 7d8de1ca4a7 gccrs: ast: Fix StructExprStruct tokenstream new f2df348dcd5 gccrs: Unify AST::IfLetExprConseqIf{,Let} into AST::IfLetEx [...] new 694063d84e4 gccrs: parser: macro: reject separator in `?` repetition new 197962cb062 gccrs: Add lowering for if-let expressions new 635a63c0324 gccrs: ast: Make AST::Kind an enum class new b503080cd21 gccrs: ast: Add AST::Kind::IDENTIFIER new 5138ddc3d65 gccrs: resolve: Add ResolveExpr::funny_error new 10d9514c67a gccrs: resolve: Add "break rust" Easter egg new e5183f0e4a0 gccrs: lex: Fix lifetime string representation new 9113e076068 gccrs: parser: Fix attribute differentation new a4bf0b62a6b gccrs: ast: Fix tokenstream function body new a091ce015fb gccrs: ast: Fix tokenstream QualifiedPathInExpression new c353758f7e7 gccrs: ast: Fix scope separator in tokenstreams new 4756e2ae8d6 gccrs: libproc_macro: Add license headers new 49eb3f5fc66 gccrs: libproc_macro: Add Literal type new 86c070baa86 gccrs: libproc_macro: Add literal ffi implementations new a2605b5a49d gccrs: libproc_macro: Drop function shall take a mutable new a79920c2d6d gccrs: libproc_macro: Put literal members in namespace new aae0830fbf1 gccrs: libproc_macro: Add member functions to Literal new 18cd9a240d6 gccrs: Lower ErrorPropagationExpr from AST to HIR new c1da49edb8e gccrs: Add testcase to show matching of enum variants new 3ddfc58b25b gccrs: Implement Dump:visit() function for QualifiedPathInT [...] new 0b48fddeee8 gccrs: Add error message for AltPattern in let statements new 94f2a1ce4b5 gccrs: parser: Parse reference patterns correctly new f395ed80cea gccrs: Deleted the as_string ASR and HIR dumps new e8c656ff6ea gccrs: libproc_macro: Add ident implementation new d2c9c8cf393 gccrs: libproc_macro: Change drop rust interface new f4b2b28f325 gccrs: libproc_macro: Add named constructor new 6a569f5c6c0 gccrs: libproc_macro: Add namespace to Ident new 27f298c1dd8 gccrs: libproc_macro: Add Punct struct new 747d9a92ddb gccrs: Fix translation mistakes 2023 in GCC/Rust [PR108890] new d9473a5b55d gccrs: libproc_macro: Add remaining tokenstream structs. new c9534eb5d93 gccrs: libproc_macro: Add drop function on Ident struct new 2fa0bbc3ee6 gccrs: libproc_macro: Add drop function to Literal struct new b44757f8360 gccrs: libproc_macro: Add remaining drop functions new 98b779a83cb gccrs: libproc_macro: Implement Drop for TokenStream new 26987074199 gccrs: libproc_macro: Fix literal drop function new 14ab22c46e8 gccrs: Resolve identifier-pattern struct pattern fields new 315e267e8be gccrs: patterns: Add execution testcases to verify proper p [...] new e755e6e407b gccrs: Fix memory corruption at peek_context new 8e8c56392ed gccrs: minor refactor to reuse a variable instead of recrea [...] new e3a2f3b1931 gccrs: Add get_defid helper to TypeCheckContextItem new 0c6338ddb64 gccrs: add helper to check for a const or static context new b18533466c6 gccrs: add error state to TypeCheckContextItem and missing [...] new b39ecbfec93 gccrs: Track Self properly with TypePredicateBounds new b237dcd81a3 gccrs: Fix ICE during method resolution new cd587fbc1de gccrs: Fix ICE in assignment of error type bound predicates new 50c549ef3db gccrs: enable -Winfinite-recursion warnings by default new 91a86375d98 gccrs: fix ICE with recursive function calls new 6700154ff7e gccrs: remove unused includes new 73ed16c0f8b gccrs: Fix ICE when we dont get a reference type new d264dcc70c4 gccrs: remove unused header new 1b810614f1e gccrs: Add mechanism use pattern information to improve type info new a92d1cc9b51 gccrs: Add missing ABI mapping new dd8fb58695f gccrs: Add missing ABI checking on function types new 8b7ab6f2f26 gccrs: Fix -frust-dump-* error messages new 98142ce7cc4 gccrs: Minor tuning in AST dump new 829785bb69a gccrs: Add accessors to HIR::StructPatternFieldIdentPat new bee0c8a1d42 gccrs: Add missing TypeBoundWhereClauseItem::get_locus new 6182a284960 gccrs: Add missing where clause lowering for Impl functions new 255d22ea90e gccrs: resolve the associated_predicate when mapping Fn traits new 532d74c1927 gccrs: Lower StructPatternFieldIdentPat new 46eb2b751f1 gccrs: Type check StructPatternFieldIdentPat new 0a0b51c5dc0 gccrs: Extract helper lookup_associated_impl_block new 04877f1096b gccrs: qualified path syntax is used to disambiguate predicates new 68a0eb254f6 gccrs: Improve operator overload check for recursive overload new 582accedb77 gccrs: Fix infinite loop with parsing invalid generic parameters new 1ca5d5f84c9 gccrs: cli: Add frust-extern option new e112189800b gccrs: libproc_macro: Put all structures in a namespace new b1a8cb2fbf6 gccrs: libproc_macro: Remove internal named namespaces new 71180a9eed3 gccrs: libproc_macro: Build statically new ba534efbc00 gccrs: libproc_macro: Change proc_macro.h to main header new b911f7b85ab gccrs: Fix out of bounds indexing while expanding macros wi [...] new 35a4c25ae45 gccrs: Add is_expr method to AST::Stmt new b181ea7289b gccrs: Handle replacing stripped tail expressions new a365e3ed705 gccrs: Add test from issue 1446 new 1ff234bffdb gccrs: libproc_macro: Add proc_macro interface structures new fb3eb13f0f8 gccrs: libproc_macro: Add helpers to construct Procmacro new 25c9921b1d9 gccrs: utils: Add bidirectional hashmap class new cf1287ee24c gccrs: builtin: Cleanup handling of builtin macros new c532c201b36 gccrs: ast: Add Kind::MODULE
The 160 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 | 19 +- gcc/rust/ast/rust-ast-dump.cc | 64 +- gcc/rust/ast/rust-ast-dump.h | 25 +- gcc/rust/ast/rust-ast-formatting.cc | 106 + .../rust-base62.cc => ast/rust-ast-formatting.h} | 57 +- gcc/rust/ast/rust-ast-full-decls.h | 4 - gcc/rust/ast/rust-ast-full.h | 1 + gcc/rust/ast/rust-ast-tokenstream.cc | 2889 ++++++++++++++++++++ .../{rust-ast-dump.h => rust-ast-tokenstream.h} | 85 +- gcc/rust/ast/rust-ast-visitor.h | 4 - gcc/rust/ast/rust-ast.cc | 991 +------ gcc/rust/ast/rust-ast.h | 95 +- gcc/rust/ast/rust-expr.h | 318 +-- gcc/rust/ast/rust-item.h | 23 +- gcc/rust/ast/rust-macro.cc | 42 - gcc/rust/ast/rust-macro.h | 39 +- gcc/rust/ast/rust-path.cc | 360 +++ gcc/rust/ast/rust-path.h | 4 +- gcc/rust/ast/rust-pattern.cc | 468 ++++ gcc/rust/ast/rust-pattern.h | 43 +- gcc/rust/ast/rust-stmt.h | 2 + gcc/rust/backend/rust-compile-base.cc | 85 + gcc/rust/backend/rust-compile-base.h | 6 + gcc/rust/backend/rust-compile-expr.cc | 110 +- gcc/rust/backend/rust-compile-expr.h | 6 - gcc/rust/backend/rust-compile-implitem.h | 2 - gcc/rust/backend/rust-compile-item.cc | 20 +- gcc/rust/backend/rust-compile-item.h | 3 +- gcc/rust/backend/rust-compile-resolve-path.cc | 34 +- gcc/rust/backend/rust-compile-stmt.cc | 8 +- gcc/rust/backend/rust-compile-stmt.h | 3 +- .../checks/errors/privacy/rust-privacy-reporter.cc | 10 +- .../checks/errors/privacy/rust-privacy-reporter.h | 3 +- .../errors/privacy/rust-visibility-resolver.cc | 10 + gcc/rust/checks/errors/rust-const-checker.cc | 8 +- gcc/rust/checks/errors/rust-const-checker.h | 3 +- gcc/rust/checks/errors/rust-feature-gate.h | 4 - gcc/rust/checks/errors/rust-unsafe-checker.cc | 8 +- gcc/rust/checks/errors/rust-unsafe-checker.h | 3 +- gcc/rust/checks/lints/rust-lint-marklive.h | 7 +- ...rust-attribute-visitor.cc => rust-cfg-strip.cc} | 1308 ++++----- .../{rust-attribute-visitor.h => rust-cfg-strip.h} | 100 +- gcc/rust/expand/rust-expand-visitor.cc | 1533 +++++++++++ ...t-attribute-visitor.h => rust-expand-visitor.h} | 127 +- gcc/rust/expand/rust-macro-builtins.cc | 158 +- gcc/rust/expand/rust-macro-builtins.h | 64 +- gcc/rust/expand/rust-macro-expand.cc | 117 +- gcc/rust/expand/rust-macro-expand.h | 6 +- gcc/rust/expand/rust-macro-substitute-ctx.cc | 18 +- gcc/rust/hir/rust-ast-lower-base.cc | 28 +- gcc/rust/hir/rust-ast-lower-base.h | 7 +- gcc/rust/hir/rust-ast-lower-block.h | 10 +- gcc/rust/hir/rust-ast-lower-expr.cc | 25 +- gcc/rust/hir/rust-ast-lower-expr.h | 4 +- gcc/rust/hir/rust-ast-lower-implitem.h | 16 + gcc/rust/hir/rust-ast-lower-item.cc | 6 + gcc/rust/hir/rust-ast-lower-item.h | 1 + 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 | 23 +- 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 | 70 +- gcc/rust/hir/rust-hir-dump.cc | 5 +- gcc/rust/hir/rust-hir-dump.h | 3 +- gcc/rust/hir/tree/rust-hir-expr.h | 6 +- gcc/rust/hir/tree/rust-hir-full-decls.h | 2 - gcc/rust/hir/tree/rust-hir-item.h | 2 + gcc/rust/hir/tree/rust-hir-pattern.h | 6 + gcc/rust/hir/tree/rust-hir-stmt.h | 104 +- gcc/rust/hir/tree/rust-hir-visitor.h | 9 +- gcc/rust/hir/tree/rust-hir.cc | 40 +- gcc/rust/lang.opt | 20 +- gcc/rust/lex/rust-token.cc | 37 + gcc/rust/lex/rust-token.h | 4 + gcc/rust/metadata/rust-export-metadata.cc | 18 + gcc/rust/metadata/rust-export-metadata.h | 8 +- gcc/rust/parse/rust-parse-impl.h | 103 +- gcc/rust/parse/rust-parse.h | 6 +- gcc/rust/resolve/rust-ast-resolve-base.cc | 16 - gcc/rust/resolve/rust-ast-resolve-base.h | 4 - gcc/rust/resolve/rust-ast-resolve-expr.cc | 111 +- gcc/rust/resolve/rust-ast-resolve-expr.h | 8 +- gcc/rust/resolve/rust-ast-resolve-item.cc | 52 +- gcc/rust/resolve/rust-ast-resolve-path.cc | 4 + gcc/rust/resolve/rust-ast-resolve-pattern.cc | 6 +- gcc/rust/resolve/rust-early-name-resolver.cc | 35 +- gcc/rust/resolve/rust-early-name-resolver.h | 4 - gcc/rust/rust-lang.cc | 16 +- gcc/rust/rust-session-manager.cc | 86 +- gcc/rust/rust-session-manager.h | 10 +- gcc/rust/typecheck/rust-autoderef.cc | 2 +- gcc/rust/typecheck/rust-casts.cc | 18 +- gcc/rust/typecheck/rust-hir-dot-operator.cc | 6 +- gcc/rust/typecheck/rust-hir-path-probe.cc | 35 +- 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 | 170 +- gcc/rust/typecheck/rust-hir-type-check-expr.h | 6 +- gcc/rust/typecheck/rust-hir-type-check-item.cc | 10 +- gcc/rust/typecheck/rust-hir-type-check-path.cc | 158 +- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 165 +- gcc/rust/typecheck/rust-hir-type-check-pattern.h | 25 +- gcc/rust/typecheck/rust-hir-type-check-stmt.cc | 8 +- gcc/rust/typecheck/rust-hir-type-check-stmt.h | 3 +- gcc/rust/typecheck/rust-hir-type-check-type.cc | 74 +- gcc/rust/typecheck/rust-hir-type-check.h | 15 +- gcc/rust/typecheck/rust-tycheck-dump.h | 7 +- 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 | 94 +- gcc/rust/typecheck/rust-tyty-bounds.h | 3 + gcc/rust/typecheck/rust-tyty-subst.cc | 173 +- gcc/rust/typecheck/rust-tyty-subst.h | 9 +- gcc/rust/typecheck/rust-tyty.h | 5 +- gcc/rust/typecheck/rust-unify.cc | 25 + gcc/rust/typecheck/rust-unify.h | 2 + gcc/rust/util/bi-map.h | 48 + gcc/rust/util/rust-abi.cc | 2 + gcc/rust/util/rust-attributes.cc | 20 +- gcc/rust/util/rust-attributes.h | 4 - gcc/rust/util/rust-hir-map.cc | 34 +- gcc/rust/util/rust-hir-map.h | 4 + gcc/rust/util/rust-lang-item.h | 14 + gcc/testsuite/lib/prune.exp | 1 + gcc/testsuite/rust/bounds1.rs | 19 - gcc/testsuite/rust/compile/array4.rs | 3 + .../rust/compile/{issue-1725-1.rs => bounds1.rs} | 0 gcc/testsuite/rust/compile/break-rust1.rs | 7 + gcc/testsuite/rust/compile/break-rust2.rs | 4 + gcc/testsuite/rust/compile/break-rust3.rs | 4 + gcc/testsuite/rust/compile/cast4.rs | 5 + gcc/testsuite/rust/compile/cast5.rs | 12 + gcc/testsuite/rust/compile/const_generics_5.rs | 15 +- gcc/testsuite/rust/compile/if_let_expr.rs | 4 +- gcc/testsuite/rust/compile/issue-1446.rs | 10 + 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-2029.rs | 13 + gcc/testsuite/rust/compile/issue-2039.rs | 22 + gcc/testsuite/rust/compile/issue-2042.rs | 6 + gcc/testsuite/rust/compile/issue-2043.rs | 12 + .../compile/{torture/traits9.rs => issue-2070.rs} | 7 +- 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 + .../ref-pattern2.rs => compile/issue-2142.rs} | 8 +- .../torture/issue-858.rs => compile/issue-852.rs} | 12 +- gcc/testsuite/rust/compile/issue-925.rs | 23 + gcc/testsuite/rust/compile/let_alt.rs | 4 + gcc/testsuite/rust/compile/macro-issue2092.rs | 4 + gcc/testsuite/rust/compile/macro49.rs | 9 + gcc/testsuite/rust/compile/macro50.rs | 10 + gcc/testsuite/rust/compile/macro51.rs | 3 + gcc/testsuite/rust/compile/macro52.rs | 11 + gcc/testsuite/rust/compile/privacy8.rs | 1 + gcc/testsuite/rust/compile/traits12.rs | 2 +- .../rust/compile/unconstrained_type_param.rs | 5 +- gcc/testsuite/rust/execute/torture/arrays.rs | 3 + gcc/testsuite/rust/execute/torture/cfg-tail.rs | 9 + gcc/testsuite/rust/execute/torture/issue-1852-1.rs | 15 + gcc/testsuite/rust/execute/torture/issue-1852.rs | 15 + .../torture/{ref-pattern2.rs => issue-2052.rs} | 9 +- gcc/testsuite/rust/execute/torture/issue-2080.rs | 26 + libgrust/Makefile.am | 6 +- libgrust/Makefile.in | 3 +- libgrust/libproc_macro/Makefile.am | 7 +- libgrust/libproc_macro/Makefile.in | 2 +- .../c/clocale => libgrust/libproc_macro/group.cc | 27 +- .../libproc_macro/group.h | 45 +- libgrust/libproc_macro/ident.cc | 86 + .../std/random => libgrust/libproc_macro/ident.h | 65 +- libgrust/libproc_macro/literal.cc | 291 ++ libgrust/libproc_macro/literal.h | 212 ++ libgrust/libproc_macro/proc_macro.cc | 51 +- libgrust/libproc_macro/proc_macro.h | 91 +- .../libproc_macro/punct.cc | 22 +- .../libproc_macro/punct.h | 41 +- libgrust/libproc_macro/rust/bridge.rs | 14 + libgrust/libproc_macro/rust/bridge/group.rs | 55 + libgrust/libproc_macro/rust/bridge/ident.rs | 68 + libgrust/libproc_macro/rust/bridge/literal.rs | 401 +++ libgrust/libproc_macro/rust/bridge/punct.rs | 37 + libgrust/libproc_macro/rust/bridge/span.rs | 32 + libgrust/libproc_macro/rust/bridge/token_stream.rs | 163 ++ libgrust/libproc_macro/rust/group.rs | 88 + libgrust/libproc_macro/rust/ident.rs | 67 + libgrust/libproc_macro/rust/lib.rs | 198 ++ libgrust/libproc_macro/rust/literal.rs | 189 ++ libgrust/libproc_macro/rust/punct.rs | 92 + libgrust/libproc_macro/rust/span.rs | 52 + libgrust/libproc_macro/rust/token_stream.rs | 52 + libgrust/libproc_macro/tokenstream.cc | 119 + libgrust/libproc_macro/tokenstream.h | 71 + libgrust/libproc_macro/tokentree.cc | 78 + .../cwctype => libgrust/libproc_macro/tokentree.h | 61 +- 204 files changed, 11597 insertions(+), 4113 deletions(-) create mode 100644 gcc/rust/ast/rust-ast-formatting.cc copy gcc/rust/{util/rust-base62.cc => ast/rust-ast-formatting.h} (50%) create mode 100644 gcc/rust/ast/rust-ast-tokenstream.cc copy gcc/rust/ast/{rust-ast-dump.h => rust-ast-tokenstream.h} (85%) create mode 100644 gcc/rust/ast/rust-path.cc create mode 100644 gcc/rust/ast/rust-pattern.cc rename gcc/rust/expand/{rust-attribute-visitor.cc => rust-cfg-strip.cc} (68%) copy gcc/rust/expand/{rust-attribute-visitor.h => rust-cfg-strip.h} (77%) create mode 100644 gcc/rust/expand/rust-expand-visitor.cc rename gcc/rust/expand/{rust-attribute-visitor.h => rust-expand-visitor.h} (79%) create mode 100644 gcc/rust/util/bi-map.h delete mode 100644 gcc/testsuite/rust/bounds1.rs create mode 100644 gcc/testsuite/rust/compile/array4.rs copy gcc/testsuite/rust/compile/{issue-1725-1.rs => bounds1.rs} (100%) create mode 100644 gcc/testsuite/rust/compile/break-rust1.rs create mode 100644 gcc/testsuite/rust/compile/break-rust2.rs create mode 100644 gcc/testsuite/rust/compile/break-rust3.rs create mode 100644 gcc/testsuite/rust/compile/cast4.rs create mode 100644 gcc/testsuite/rust/compile/cast5.rs create mode 100644 gcc/testsuite/rust/compile/issue-1446.rs create mode 100644 gcc/testsuite/rust/compile/issue-1807.rs create mode 100644 gcc/testsuite/rust/compile/issue-2029.rs create mode 100644 gcc/testsuite/rust/compile/issue-2039.rs create mode 100644 gcc/testsuite/rust/compile/issue-2042.rs create mode 100644 gcc/testsuite/rust/compile/issue-2043.rs copy gcc/testsuite/rust/compile/{torture/traits9.rs => issue-2070.rs} (72%) 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/ref-pattern2.rs => compile/issue-2142.rs} (65%) copy gcc/testsuite/rust/{execute/torture/issue-858.rs => compile/issue-852.rs} (78%) create mode 100644 gcc/testsuite/rust/compile/issue-925.rs create mode 100644 gcc/testsuite/rust/compile/let_alt.rs create mode 100644 gcc/testsuite/rust/compile/macro-issue2092.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/macro51.rs create mode 100644 gcc/testsuite/rust/compile/macro52.rs create mode 100644 gcc/testsuite/rust/compile/privacy8.rs create mode 100644 gcc/testsuite/rust/execute/torture/arrays.rs create mode 100644 gcc/testsuite/rust/execute/torture/cfg-tail.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 gcc/testsuite/rust/execute/torture/{ref-pattern2.rs => issue-2052.rs} (65%) create mode 100644 gcc/testsuite/rust/execute/torture/issue-2080.rs copy libstdc++-v3/include/c/clocale => libgrust/libproc_macro/group.cc (71%) copy libstdc++-v3/src/c++98/parallel_settings.cc => libgrust/libproc_macro/group.h (65%) 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/rust/bridge.rs create mode 100644 libgrust/libproc_macro/rust/bridge/group.rs create mode 100644 libgrust/libproc_macro/rust/bridge/ident.rs create mode 100644 libgrust/libproc_macro/rust/bridge/literal.rs create mode 100644 libgrust/libproc_macro/rust/bridge/punct.rs create mode 100644 libgrust/libproc_macro/rust/bridge/span.rs create mode 100644 libgrust/libproc_macro/rust/bridge/token_stream.rs create mode 100644 libgrust/libproc_macro/rust/group.rs create mode 100644 libgrust/libproc_macro/rust/ident.rs create mode 100644 libgrust/libproc_macro/rust/lib.rs create mode 100644 libgrust/libproc_macro/rust/literal.rs create mode 100644 libgrust/libproc_macro/rust/punct.rs create mode 100644 libgrust/libproc_macro/rust/span.rs create mode 100644 libgrust/libproc_macro/rust/token_stream.rs 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 (54%)