This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 79df2b3cafa gccrs: name resolution 2.0: Add base for our context data s [...] new daae0c5dffa gccrs: top-level: Add base `TopLevel` visitor new 6db677bac0e gccrs: forever-stack: Use rust_assert instead of assert new 26c4133a625 gccrs: Normalize Hangul to NFC new 467794700e8 gccrs: nr2.0: Add DefaultResolver visitor new 3b0a200eb8c gccrs: nr2.0: Use DefaultResolver for TopLevel new 8b1e1faa7f2 gccrs: better handling of incorrect file loading in include [...] new 5db4f84f883 gccrs: [E0308] mismatch types on assignment new f0193accb7b gccrs: [E0635] Use of Unknown feature. new 7c10950f544 gccrs: [E0426] Use of undeclared label new 5a0e099e892 gccrs: rib2.0: Add shadowing new 79d8fb09c62 gccrs: forever stack: Add path resolution new d3d006d6b08 gccrs: resolver: Resolve macros too. new 3a5a74d9177 gccrs: toplevel: Handle macro definitions properly new 2bde73fa466 gccrs: nr2.0: Visit receiver/call expression and arguments [...] new f7084d48728 gccrs: nr2.0: Add Early name resolution visitor new 301e59b864b gccrs: session-manager: Run name resolution 2.0 if the opti [...] new 44ec7404b9a gccrs: nr2.0: Add complex macro name resolution test cases new c2ea7f6f36c gccrs: ast: Add `get_kind` method to `MacroRulesDefinition` new 8ea51b5c81f gccrs: nr2.0: Add macros 2.0 in Ribs in TopLevel visitor new e99ee91a959 gccrs: nr2.0: Add macros 2.0 resolution testcase. new 24fe3afef25 gccrs: [E0107] Wrong number of generic argument new 9e208648cb9 gccrs: [E0015] Use of non-const inside const new a60bafec5a0 gccrs: [E0658] Unstable langauge feature new 5249b87d9aa gccrs: Fix a warning about extra semicolon new c75db430f03 gccrs: [E0412] used type name not in scope new fadf5f59940 gccrs: Normalize all identifier tokens new 79b52e69569 gccrs: Remove Backend::bool_type and Backend::char_type new 77fbe55f8e6 gccrs: Move Backend::error_variable to Bvariable::error_variable new f26df74ce3c gccrs: [E0282] type annotations needed new c24d0e9033d gccrs: [E0308] array misamatch types new 619f1874b0c gccrs: Add function `Rust::encode_punycode` new b2234633dc0 gccrs: Remove unneeded references to "this" in backend methods new 55cf783df81 gccrs: Basic formatting/comment fixes new 9f09284d8fc gccrs: [E0703] Use of Invalid ABI new 2b20054948e gccrs: [E0541] Use of unknown meta item new 2952785b162 gccrs: [E0054/E0604/E0620/E0606] TypeCasting ErrorCodes new fa6bba6f220 gccrs: Adjust HIR dump for IfExpr and IfExprConseqElse new 1e288d66cb4 gccrs: macro-expand: Keep optional references to last_{def, invoc} new 5b47923fe51 gccrs: clean up Codepoint and InputSource new ce40be7683b gccrs: Use MacroInvocLexerBase in ProcMacroInvocLexer new 237564fc08e gccrs: remove horrible hack in solving complex generics on [...] new 007940b7537 gccrs: Fix legacy mangling to use Unicode escape new 0ebb0a75b40 gccrs: Add missing CHECKING_P guard to rust-punycode.cc new aef47d79660 gccrs: Cleanup HIR dump new 4459962a83f gccrs: simplify matching possible candidates new 18464d32dad gccrs: improve name mangling hash new 06af44ece16 gccrs: Type annotation for make-unicode-data.py new e4515c226d5 gccrs: diagnostics: Fix mismatch between new[] and free new 75853fdd294 gccrs: [E0534] inline attribute was malformed new 4ad44eae614 gccrs: Support for rich-loc & errorcode in parser error new c0b25c9a3b2 gccrs: [E0753] Use of inner doc comment in invalid context new 0ae1af0eb31 gccrs: [E0380] Use of auto trait with method or associated item new 87ccd32da00 gccrs: [E0535] Unknown argument given to inline attribute new cdddf7baff7 gccrs: [E0164] Neither tuple struct nor tuple variant used [...] new a7eacd8879e gccrs: fix lexer exponent output on tuple indices new 6899eaa70f4 gccrs: Add a regression test for decimal lexing new b763d736a10 gccrs: [E0034] found more than one items for method new dd343c42d25 gccrs: Non-allowed default type paramters new b620e1d19f1 gccrs: [E0391] Detected type dependency cycle new 10da25cd814 gccrs: Add punycode encoding to v0 mangling new fbbf0ec47db gccrs: Handle gengtype annotations in rust-constexpr.cc new 3d75a9b0edf gccrs: Remove stmt_tree and dependency on cp_token_cache new 04d6111e6e6 gccrs: [E0573] Something other than type was used new 750ac3263c8 gccrs: Improve byte vector to string conversion new c7c9bbaa1a1 gccrs: Invalid order of generic parameters new 6505e466507 gccrs: Fix compilation of types which hold onto dangling in [...] new d429c4ac2d8 gccrs: Namespace related tweaks new 34b0de57741 gccrs: Rename some structs to avoid ODR issues new 3d59270c819 gccrs: Fork c++ resorting methods new 0e65b1f9b37 gccrs: [E0271] Type mismatch between associated type trait. new 8c04cf4cb19 gccrs: diagnostics: Added non-const `rich_location *` function new ed7697703a0 gccrs: Add missing gengtype related structs new af2ae307641 gccrs: [E0769] Use of tuple struct/variant in struct variant new 9048f08f4e9 gccrs: Handle gengtype annotations in backend/rust-tree.{cc,h} new dfef82f2736 gccrs: Resolve nested macro definition new a289b3614de gccrs: Add regression test for nested macros new 11963393d07 gccrs: Collect error instance instead of lambda functions new ad1c244dd60 gccrs: Fix bad uninit intrinsic new 215b6acecb6 gccrs: Fix overflow intrinsic use before init new 7519a5fb37a gccrs: Mark uninit-intrinsic as side-effects new b79f6432799 gccrs: Fix move_val_init new 979b38d4bef gccrs: fix bug in the iterator testcase new fb14147b9f3 gccrs: Move type-related functions into base class Backend new c00624a6c8b gccrs: Fix invalid call to vector::front in TypeBoundPredic [...] new 5c339c29f9a gccrs: [E0658] top level or-patterns are not allowed let binding new 52ad16ef37d gccrs: Add check for no_mangle attribute new 078158a3b98 gccrs: Fix ODR violations new fe8bd7af79e gccrs: Move label-related functions into base class Backend new 6e7ed4bad96 gccrs: Improve type checking for if expressions new fe97255c290 gccrs: Move debug-related functions into base class Backend new 1e4553be001 gccrs: [E0603] Use of private item outside scope new 88045f3524d gccrs: Move variable-related methods into base class Backend new 55caa88646a gccrs: Move some simple expression-related methods into bas [...] new 5372086cf52 gccrs: [E0532] Pattern arm did not match expected kind new dc68505f4ce gccrs: gccrs:[E0592] methods or associated functions with s [...] new 5728f2bf0a5 gccrs: Move function-related methods into base class Backend new b7809f89fb8 gccrs: Move statement-related methods into base class Backend new fd73cf8c316 gccrs: Rename libproc_macro to libproc_macro_internal new b1c722d1411 gccrs: libproc_macro: Split c++ and rust new 83feca39ba0 gccrs: Move block-related methods into base class Backend new 3afb921cdae gccrs: Fix match-expression code-gen new ad1f5108494 gccrs: Make is_builtin a member function new de8bc8f9bc0 gccrs: Set traits getter as member function new 90ee631428f gccrs: Change trait getter to return references new 872ea1ab969 gccrs: Ease some constraints on derive definition new 22bce7cbfa0 gccrs: Parse unparsed derive tokenstreams new 47886454483 gccrs: Visit function and structure attributes new 7c265ce70b5 gccrs: Add proc macro ast representation new 5ea74345459 gccrs: Add proc macros abstractions to crate structure new 8f5bedeb6c6 gccrs: Add getters for different types of proc macros new 1caf0e8ffed gccrs: Change early resolver visit_attributes arguments new e5c109ea4cd gccrs: Add proc macro top level discovery new 86a3d1582f9 gccrs: Move proc macro definition to mappings new ccef4572975 gccrs: Supress error with proc macro crates new c8911dde92a gccrs: Move extern crate resolving new 342b071a0fa gccrs: resolver: Refactor assertion new 86661b8d3d9 gccrs: resolver: Refactor macro insertion new 3713338d986 gccrs: Clarify package import procedure new 867ee3a57a2 gccrs: Move remaining expression-related methods into base [...] new 346ccc0f0a8 gccrs: Remove Backend::write_export_data new 8a343bd46fb gccrs: Use optional for proc macro invocation lookup new 7167ed8d86c gccrs: Change proc macro definition lookup to optionals new 91461d3e733 gccrs: Retrieve def for derive & attribute proc macros new 2504357146d gccrs: Change proc macro mapping definition insertion new e6cd1103050 gccrs: Add proc macro definition insertion new 1501eed4501 gccrs: Add missing linemap to lexer new 1f09a4fedca gccrs: Remove Gcc_backend new fc024ea79de gccrs: Unify raw attribute values new f14cbab89d7 gccrs: Convert class Backend into namespace new 2b560b964d6 gccrs: [E0599] Failed to resovle method implementation new ae87a8ee081 gccrs: privacy: Add testcase for #1260 new 9edb0bc9b81 gccrs: privacy: Uncomment test relying on #1257 new bfc52efeac3 gccrs: Remove unused `ctx` argument in `make_unsigned_long_ [...] new 15648d5b8dc gccrs: Fix typechecking (and compilation) error for alt pat [...] new f538c29d786 gccrs: Shorten `make_unsigned_long_tree` code and remove `B [...] new b1b42beea3d gccrs: Rename "rust_error_codes.def" to "rust-error-codes.def" new 4985bfcc6de gccrs: rust-builtins: add likely and unlikey intrinsics new 9924c7485db gccrs: rust-compile-intrinsic: add `copy` intrinsics ... new 879ba4e8ca4 gccrs: Use namespace definition to simplify function declarations new bf6fcd87905 gccrs: Remove unused complex number support new a05079fa6c7 gccrs: Memoize Backend::wchar_type new b786f697dd3 gccrs: Add intrinsics::assume new 5a5c9f52212 gccrs: trivial typo fix. new 0a2219668d2 gccrs: Add license text to libproc_macro rust interface new 0a99bfe15af gccrs: Minor typo fix new 95703bb75ef gccrs: Remove HIR::ForLoopExpr new 718b65a93d1 gccrs: [E0617] attempt for invalid type variable in variadi [...] new e47a9805660 gccrs: port over readonly_error from c-family for lvalue as [...] new af2be5b555a gccrs: Add debug helper to dump HIR new b9a046cf4cd gccrs: Fix spelling new 1e1e3814ffb gccrs: Fix CanonicalPath for inherent impl new 5757c304b53 gccrs: Fix ICE when emitting an error during cfg strip new 982f93fe139 gccrs: Fix type confusion in coercion new bf96760f961 gccrs: Removed unnecessary comments new 6f15aac219c gccrs: Fix parser bug on tupplestruct pattern new c20d7924f15 gccrs: Add test for parser bug new 08b785601b8 gccrs: minor changes (typo and minor refactor) new 4e2110cac3f gccrs: Adjust methods for TuplePatternItems to match TupleS [...] new aaea26f377b gccrs: Rename cloning methods in TupleStructItems and Tuple [...] new 44f71ed313d gccrs: Initial implementation of v0 mangling
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 | 31 +- gcc/rust/ast/rust-ast-collector.cc | 4 +- gcc/rust/ast/rust-ast.cc | 87 +- gcc/rust/ast/rust-ast.h | 4 + gcc/rust/ast/rust-expr.h | 4 +- gcc/rust/ast/rust-macro.h | 2 + gcc/rust/ast/rust-pattern.h | 7 +- gcc/rust/backend/rust-builtins.cc | 6 + gcc/rust/backend/rust-compile-base.cc | 96 +- gcc/rust/backend/rust-compile-block.cc | 34 +- gcc/rust/backend/rust-compile-block.h | 2 - gcc/rust/backend/rust-compile-context.cc | 4 +- gcc/rust/backend/rust-compile-context.h | 12 +- gcc/rust/backend/rust-compile-expr.cc | 415 ++++---- gcc/rust/backend/rust-compile-expr.h | 1 - gcc/rust/backend/rust-compile-extern.h | 26 +- gcc/rust/backend/rust-compile-fnparam.cc | 29 +- gcc/rust/backend/rust-compile-implitem.cc | 2 +- gcc/rust/backend/rust-compile-implitem.h | 2 +- gcc/rust/backend/rust-compile-intrinsic.cc | 372 ++++--- gcc/rust/backend/rust-compile-item.cc | 16 +- gcc/rust/backend/rust-compile-pattern.cc | 82 +- gcc/rust/backend/rust-compile-pattern.h | 16 +- gcc/rust/backend/rust-compile-resolve-path.cc | 17 +- gcc/rust/backend/rust-compile-type.cc | 238 ++--- gcc/rust/backend/rust-compile-var-decl.h | 9 +- gcc/rust/backend/rust-compile.cc | 25 +- gcc/rust/backend/rust-constexpr.cc | 83 +- gcc/rust/backend/rust-mangle.cc | 446 ++++++-- gcc/rust/backend/rust-mangle.h | 6 +- gcc/rust/backend/rust-tree.cc | 95 +- gcc/rust/backend/rust-tree.h | 216 +++- .../checks/errors/privacy/rust-privacy-reporter.cc | 20 +- .../checks/errors/privacy/rust-privacy-reporter.h | 1 - gcc/rust/checks/errors/rust-const-checker.cc | 14 +- gcc/rust/checks/errors/rust-const-checker.h | 1 - gcc/rust/checks/errors/rust-feature-gate.cc | 8 +- gcc/rust/checks/errors/rust-readonly-check.cc | 164 +++ .../rust-readonly-check.h} | 10 +- gcc/rust/checks/errors/rust-unsafe-checker.cc | 11 +- gcc/rust/checks/errors/rust-unsafe-checker.h | 1 - gcc/rust/checks/lints/rust-lint-marklive.h | 6 - gcc/rust/config-lang.in | 5 +- gcc/rust/expand/rust-cfg-strip.cc | 8 +- gcc/rust/expand/rust-expand-visitor.cc | 96 +- gcc/rust/expand/rust-macro-builtins.cc | 29 +- gcc/rust/expand/rust-macro-expand.cc | 5 +- gcc/rust/expand/rust-macro-expand.h | 42 +- gcc/rust/expand/rust-proc-macro-invoc-lexer.cc | 7 - gcc/rust/expand/rust-proc-macro-invoc-lexer.h | 24 +- gcc/rust/expand/rust-proc-macro.cc | 23 +- gcc/rust/expand/rust-proc-macro.h | 59 +- gcc/rust/hir/rust-ast-lower-base.cc | 13 +- gcc/rust/hir/rust-ast-lower-item.cc | 24 +- gcc/rust/hir/rust-ast-lower-pattern.cc | 9 +- gcc/rust/hir/rust-ast-lower.cc | 39 +- gcc/rust/hir/rust-hir-dump.cc | 116 +- gcc/rust/hir/rust-hir-dump.h | 8 +- gcc/rust/hir/tree/rust-hir-expr.h | 67 -- gcc/rust/hir/tree/rust-hir-full-decls.h | 1 - gcc/rust/hir/tree/rust-hir-item.h | 1 + gcc/rust/hir/tree/rust-hir-pattern.h | 23 +- gcc/rust/hir/tree/rust-hir-visitor.h | 3 - gcc/rust/hir/tree/rust-hir.cc | 36 - gcc/rust/lex/rust-input-source.h | 214 ++++ gcc/rust/lex/rust-lex.cc | 33 +- gcc/rust/lex/rust-lex.h | 181 +--- gcc/rust/lex/rust-token.cc | 18 + gcc/rust/lex/rust-token.h | 40 +- gcc/rust/metadata/rust-extern-crate.cc | 10 +- gcc/rust/metadata/rust-extern-crate.h | 6 +- gcc/rust/metadata/rust-imports.cc | 7 +- gcc/rust/parse/rust-parse-impl.h | 23 +- gcc/rust/parse/rust-parse.cc | 5 +- gcc/rust/resolve/rust-ast-resolve-expr.cc | 17 +- gcc/rust/resolve/rust-ast-resolve-item.cc | 7 +- gcc/rust/resolve/rust-ast-resolve-toplevel.h | 10 +- gcc/rust/resolve/rust-ast-resolve-type.cc | 2 +- gcc/rust/resolve/rust-ast-verify-assignee.h | 84 -- gcc/rust/resolve/rust-default-resolver.cc | 821 ++++++++++++++ ...-ast-resolve-base.h => rust-default-resolver.h} | 141 ++- gcc/rust/resolve/rust-early-name-resolver-2.0.cc | 247 +++++ gcc/rust/resolve/rust-early-name-resolver-2.0.h | 96 ++ gcc/rust/resolve/rust-early-name-resolver.cc | 16 +- gcc/rust/resolve/rust-forever-stack.h | 49 +- gcc/rust/resolve/rust-forever-stack.hxx | 275 ++++- gcc/rust/resolve/rust-name-resolution-context.cc | 4 +- gcc/rust/resolve/rust-rib.cc | 8 +- gcc/rust/resolve/rust-rib.h | 7 +- .../resolve/rust-toplevel-name-resolver-2.0.cc | 315 ++++++ gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 82 ++ gcc/rust/rust-backend.h | 1119 ++++++++------------ gcc/rust/rust-diagnostics.cc | 139 ++- gcc/rust/rust-diagnostics.h | 95 +- .../{rust_error_codes.def => rust-error-codes.def} | 18 + gcc/rust/rust-gcc.cc | 455 +++----- gcc/rust/rust-gcc.h | 5 + gcc/rust/rust-lang.cc | 27 +- gcc/rust/rust-session-manager.cc | 103 +- gcc/rust/rust-session-manager.h | 3 - gcc/rust/typecheck/rust-casts.cc | 26 +- gcc/rust/typecheck/rust-coercion.cc | 2 +- .../typecheck/rust-hir-inherent-impl-overlap.h | 5 +- gcc/rust/typecheck/rust-hir-path-probe.h | 5 +- gcc/rust/typecheck/rust-hir-trait-resolve.cc | 5 +- gcc/rust/typecheck/rust-hir-type-check-base.cc | 3 +- gcc/rust/typecheck/rust-hir-type-check-expr.cc | 188 ++-- gcc/rust/typecheck/rust-hir-type-check-expr.h | 3 +- gcc/rust/typecheck/rust-hir-type-check-item.cc | 2 +- gcc/rust/typecheck/rust-hir-type-check-path.cc | 2 +- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 49 +- gcc/rust/typecheck/rust-hir-type-check-type.cc | 16 +- gcc/rust/typecheck/rust-hir-type-check.cc | 2 +- gcc/rust/typecheck/rust-tyty-bounds.cc | 15 +- gcc/rust/typecheck/rust-tyty-call.cc | 37 +- gcc/rust/typecheck/rust-tyty-subst.cc | 2 +- gcc/rust/typecheck/rust-tyty.cc | 23 +- gcc/rust/typecheck/rust-tyty.h | 16 +- gcc/rust/typecheck/rust-unify.cc | 3 +- gcc/rust/util/make-rust-unicode.py | 68 +- gcc/rust/util/rust-attribute-values.h | 40 + gcc/rust/util/rust-attributes.cc | 80 +- gcc/rust/util/rust-canonical-path.h | 12 +- gcc/rust/{lex => util}/rust-codepoint.h | 4 + gcc/rust/util/rust-common.h | 2 +- gcc/rust/util/rust-hir-map.cc | 135 ++- gcc/rust/util/rust-hir-map.h | 81 +- gcc/rust/util/rust-mapping-common.h | 2 +- gcc/rust/util/rust-punycode.cc | 182 ++++ gcc/rust/util/{rust-dump.h => rust-punycode.h} | 41 +- gcc/rust/util/rust-token-converter.cc | 1 - gcc/rust/util/rust-token-converter.h | 2 +- gcc/rust/util/rust-unicode.cc | 213 +++- gcc/rust/util/rust-unicode.h | 38 +- gcc/testsuite/rust/compile/abi-options1.rs | 6 +- gcc/testsuite/rust/compile/all-cast.rs | 11 + gcc/testsuite/rust/compile/arrays1.rs | 2 +- gcc/testsuite/rust/compile/arrays2.rs | 2 +- gcc/testsuite/rust/compile/assume.rs | 13 + gcc/testsuite/rust/compile/attr_deprecated_2.rs | 2 +- gcc/testsuite/rust/compile/auto_trait_invalid.rs | 2 +- gcc/testsuite/rust/compile/bad_as_bool_char.rs | 14 +- gcc/testsuite/rust/compile/bad_inner_doc.rs | 4 +- gcc/testsuite/rust/compile/bad_type1.rs | 2 +- gcc/testsuite/rust/compile/bad_type2.rs | 2 +- gcc/testsuite/rust/compile/cast1.rs | 2 +- gcc/testsuite/rust/compile/cast4.rs | 2 +- gcc/testsuite/rust/compile/cast5.rs | 6 +- gcc/testsuite/rust/compile/cfg2.rs | 2 +- gcc/testsuite/rust/compile/const_generics_6.rs | 2 +- gcc/testsuite/rust/compile/deadcode_err1.rs | 2 +- gcc/testsuite/rust/compile/deadcode_err2.rs | 4 +- .../rust/compile/empty_file} | 0 gcc/testsuite/rust/compile/feature.rs | 8 +- gcc/testsuite/rust/compile/func1.rs | 2 +- gcc/testsuite/rust/compile/func3.rs | 2 +- gcc/testsuite/rust/compile/func4.rs | 2 +- gcc/testsuite/rust/compile/func5.rs | 2 +- gcc/testsuite/rust/compile/generics1.rs | 2 +- gcc/testsuite/rust/compile/generics10.rs | 2 +- gcc/testsuite/rust/compile/generics13.rs | 2 +- gcc/testsuite/rust/compile/generics2.rs | 2 +- gcc/testsuite/rust/compile/generics3.rs | 2 +- gcc/testsuite/rust/compile/generics6.rs | 2 +- gcc/testsuite/rust/compile/generics7.rs | 4 +- gcc/testsuite/rust/compile/generics8.rs | 2 +- .../rust/compile/implicit_returns_err1.rs | 2 +- .../rust/compile/implicit_returns_err2.rs | 2 +- .../rust/compile/implicit_returns_err3.rs | 2 +- .../rust/compile/implicit_returns_err4.rs | 2 +- gcc/testsuite/rust/compile/inline_2.rs | 5 +- gcc/testsuite/rust/compile/issue-1152.rs | 4 +- gcc/testsuite/rust/compile/issue-1589.rs | 4 +- gcc/testsuite/rust/compile/issue-1725-2.rs | 2 +- gcc/testsuite/rust/compile/issue-2029.rs | 2 +- gcc/testsuite/rust/compile/issue-2139.rs | 2 +- gcc/testsuite/rust/compile/issue-2190-1.rs | 2 +- gcc/testsuite/rust/compile/issue-2391.rs | 10 + gcc/testsuite/rust/compile/issue-2421_str.rs | 10 + gcc/testsuite/rust/compile/issue-2431.rs | 6 + gcc/testsuite/rust/compile/issue-2477.rs | 2 +- gcc/testsuite/rust/compile/issue-2479.rs | 4 +- gcc/testsuite/rust/compile/issue-2514.rs | 14 + gcc/testsuite/rust/compile/issue-2645.rs | 4 + gcc/testsuite/rust/compile/issue-925.rs | 4 +- gcc/testsuite/rust/compile/iterators1.rs | 551 ++++++++++ gcc/testsuite/rust/compile/let_alt.rs | 2 +- gcc/testsuite/rust/compile/match4.rs | 2 +- gcc/testsuite/rust/compile/match5.rs | 2 +- gcc/testsuite/rust/compile/method1.rs | 2 +- gcc/testsuite/rust/compile/mismatched-types.rs | 9 + gcc/testsuite/rust/compile/name_resolution10.rs | 19 + gcc/testsuite/rust/compile/name_resolution6.rs | 28 + gcc/testsuite/rust/compile/name_resolution7.rs | 17 + gcc/testsuite/rust/compile/name_resolution8.rs | 26 + gcc/testsuite/rust/compile/name_resolution9.rs | 17 + .../rust/compile/nested_macro_definition.rs | 16 + gcc/testsuite/rust/compile/pattern-struct.rs | 18 + gcc/testsuite/rust/compile/privacy1.rs | 2 +- gcc/testsuite/rust/compile/privacy3.rs | 2 +- gcc/testsuite/rust/compile/privacy4.rs | 2 +- gcc/testsuite/rust/compile/privacy5.rs | 2 +- gcc/testsuite/rust/compile/privacy6.rs | 5 +- gcc/testsuite/rust/compile/privacy9.rs | 6 + gcc/testsuite/rust/compile/reference1.rs | 2 +- gcc/testsuite/rust/compile/stmt_with_block_err1.rs | 4 +- gcc/testsuite/rust/compile/trait-cycle.rs | 4 + gcc/testsuite/rust/compile/traits1.rs | 2 +- gcc/testsuite/rust/compile/traits2.rs | 4 +- gcc/testsuite/rust/compile/tuple_mismatch.rs | 2 +- gcc/testsuite/rust/compile/tuple_struct3.rs | 2 +- gcc/testsuite/rust/compile/type-if.rs | 5 + gcc/testsuite/rust/compile/undeclared_label.rs | 16 + gcc/testsuite/rust/compile/unicode_norm1.rs | 6 + gcc/testsuite/rust/compile/variadic.rs | 8 +- gcc/testsuite/rust/compile/wrong_lhs_assignment.rs | 4 +- gcc/testsuite/rust/execute/torture/issue-2583.rs | 13 + gcc/testsuite/rust/execute/torture/iter1.rs | 552 ++++++++++ libgrust/Makefile.am | 2 +- libgrust/Makefile.in | 2 +- libgrust/configure | 6 +- libgrust/configure.ac | 2 +- libgrust/libproc_macro/{bridge.h => bridge.rs} | 22 +- .../libproc_macro/{rust => }/bridge/ffistring.rs | 22 + libgrust/libproc_macro/{rust => }/bridge/group.rs | 22 + libgrust/libproc_macro/{rust => }/bridge/ident.rs | 22 + .../libproc_macro/{rust => }/bridge/literal.rs | 22 + .../libproc_macro/{group.cc => bridge/punct.rs} | 48 +- .../libproc_macro/{tokentree.cc => bridge/span.rs} | 82 +- .../{rust => }/bridge/token_stream.rs | 22 + libgrust/libproc_macro/{rust => }/group.rs | 22 + libgrust/libproc_macro/{rust => }/ident.rs | 22 + libgrust/libproc_macro/{rust => }/lib.rs | 22 + libgrust/libproc_macro/{rust => }/literal.rs | 22 + libgrust/libproc_macro/{rust => }/punct.rs | 22 + libgrust/libproc_macro/rust/bridge.rs | 15 - libgrust/libproc_macro/rust/bridge/punct.rs | 39 - libgrust/libproc_macro/rust/bridge/span.rs | 40 - libgrust/libproc_macro/{rust => }/span.rs | 22 + libgrust/libproc_macro/{rust => }/token_stream.rs | 22 + .../Makefile.am | 3 +- .../Makefile.in | 8 +- .../bridge.h | 0 .../ffistring.cc | 0 .../ffistring.h | 0 .../group.cc | 0 .../group.h | 0 .../ident.cc | 0 .../ident.h | 0 .../literal.cc | 0 .../literal.h | 0 .../proc_macro.cc | 0 .../proc_macro.h | 0 .../punct.cc | 0 .../punct.h | 0 .../registration.h | 0 .../span.cc | 0 .../span.h | 0 .../tokenstream.cc | 0 .../tokenstream.h | 0 .../tokentree.cc | 0 .../tokentree.h | 0 262 files changed, 7919 insertions(+), 3413 deletions(-) create mode 100644 gcc/rust/checks/errors/rust-readonly-check.cc copy gcc/rust/checks/{lints/rust-lint-unused-var.h => errors/rust-readonly-check.h} (83%) create mode 100644 gcc/rust/lex/rust-input-source.h delete mode 100644 gcc/rust/resolve/rust-ast-verify-assignee.h create mode 100644 gcc/rust/resolve/rust-default-resolver.cc copy gcc/rust/resolve/{rust-ast-resolve-base.h => rust-default-resolver.h} (85%) create mode 100644 gcc/rust/resolve/rust-early-name-resolver-2.0.cc create mode 100644 gcc/rust/resolve/rust-early-name-resolver-2.0.h create mode 100644 gcc/rust/resolve/rust-toplevel-name-resolver-2.0.cc create mode 100644 gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h rename gcc/rust/{rust_error_codes.def => rust-error-codes.def} (93%) create mode 100644 gcc/rust/util/rust-attribute-values.h rename gcc/rust/{lex => util}/rust-codepoint.h (89%) create mode 100644 gcc/rust/util/rust-punycode.cc copy gcc/rust/util/{rust-dump.h => rust-punycode.h} (56%) create mode 100644 gcc/testsuite/rust/compile/all-cast.rs create mode 100644 gcc/testsuite/rust/compile/assume.rs copy gcc/{config/i386/t-cygwin-w64 => testsuite/rust/compile/empty_file} (100%) create mode 100644 gcc/testsuite/rust/compile/issue-2391.rs create mode 100644 gcc/testsuite/rust/compile/issue-2421_str.rs create mode 100644 gcc/testsuite/rust/compile/issue-2431.rs create mode 100644 gcc/testsuite/rust/compile/issue-2514.rs create mode 100644 gcc/testsuite/rust/compile/issue-2645.rs create mode 100644 gcc/testsuite/rust/compile/iterators1.rs create mode 100644 gcc/testsuite/rust/compile/mismatched-types.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution10.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution6.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution7.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution8.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution9.rs create mode 100644 gcc/testsuite/rust/compile/nested_macro_definition.rs create mode 100644 gcc/testsuite/rust/compile/pattern-struct.rs create mode 100644 gcc/testsuite/rust/compile/privacy9.rs create mode 100644 gcc/testsuite/rust/compile/trait-cycle.rs create mode 100644 gcc/testsuite/rust/compile/type-if.rs create mode 100644 gcc/testsuite/rust/compile/undeclared_label.rs create mode 100644 gcc/testsuite/rust/compile/unicode_norm1.rs create mode 100644 gcc/testsuite/rust/execute/torture/issue-2583.rs create mode 100644 gcc/testsuite/rust/execute/torture/iter1.rs copy libgrust/libproc_macro/{bridge.h => bridge.rs} (81%) rename libgrust/libproc_macro/{rust => }/bridge/ffistring.rs (50%) rename libgrust/libproc_macro/{rust => }/bridge/group.rs (55%) rename libgrust/libproc_macro/{rust => }/bridge/ident.rs (54%) rename libgrust/libproc_macro/{rust => }/bridge/literal.rs (85%) copy libgrust/libproc_macro/{group.cc => bridge/punct.rs} (58%) copy libgrust/libproc_macro/{tokentree.cc => bridge/span.rs} (51%) rename libgrust/libproc_macro/{rust => }/bridge/token_stream.rs (80%) rename libgrust/libproc_macro/{rust => }/group.rs (69%) rename libgrust/libproc_macro/{rust => }/ident.rs (62%) rename libgrust/libproc_macro/{rust => }/lib.rs (83%) rename libgrust/libproc_macro/{rust => }/literal.rs (82%) rename libgrust/libproc_macro/{rust => }/punct.rs (70%) delete mode 100644 libgrust/libproc_macro/rust/bridge.rs delete mode 100644 libgrust/libproc_macro/rust/bridge/punct.rs delete mode 100644 libgrust/libproc_macro/rust/bridge/span.rs rename libgrust/libproc_macro/{rust => }/span.rs (59%) rename libgrust/libproc_macro/{rust => }/token_stream.rs (58%) rename libgrust/{libproc_macro => libproc_macro_internal}/Makefile.am (97%) rename libgrust/{libproc_macro => libproc_macro_internal}/Makefile.in (98%) rename libgrust/{libproc_macro => libproc_macro_internal}/bridge.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/ffistring.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/ffistring.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/group.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/group.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/ident.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/ident.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/literal.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/literal.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/proc_macro.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/proc_macro.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/punct.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/punct.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/registration.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/span.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/span.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/tokenstream.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/tokenstream.h (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/tokentree.cc (100%) rename libgrust/{libproc_macro => libproc_macro_internal}/tokentree.h (100%)