This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 939fb3fffeb MAINTAINERS: Add myself as CTF and BTF reviewer new f66b135d0b5 gccrs: fatal_error_flag: Fix typo in error message new 776ff053800 gccrs: unsafe: check use of `target_feature` attribute new d9e05700ac3 gccrs: Check for mutable references in const functions new ef792b9658d gccrs: rust: add bound parsing in parse_generic_arg. new e1394230b3f gccrs: Implement declarative macro 2.0 parser new 3f1dbb2cf8f gccrs: Add name resolution to generic argument associated i [...] new 7eab9d18d97 gccrs: Support associated type bound arguments new 364f4cd3072 gccrs: Reuse TypeCheckPattern on LetStmt's new 8e2abbef4cc gccrs: Add get_locus function for abstract class MetaItemInner. new 86f8e47f9df gccrs: diagnostics: Add underline for tokens in diagnostics. new 881ed7fb273 gccrs: Change how CompileVarDecl outputs Bvariable's new 60affc3a1c5 gccrs: testsuite: Handle Windows carriage returns properly new 910e7e0a958 gccrs: Support GroupedPattern during name resolution new cb42610bfba gccrs: Do not crash on empty macros expand. Fixes #1712 new 93fcadd208a gccrs: Add HIR lowering for GroupedPattern new d5a303cc664 gccrs: Add get_item method for HIR::GroupedPattern new 83e5f634d74 gccrs: Add type resolution for grouped patterns new 221650c280c gccrs: Added missing GroupedPattern visitors for code generation new 9b19e93873c gccrs: Rename file rust-ast-full-test.cc to rust-ast.cc new d6cb04bf5c0 gccrs: moved operator.h to util/rust-operators.h new 760f529d813 gccrs: fixed compiler error message on wildcard pattern wit [...] new 8e7e682a9f8 gccrs: fixed indentations in AST pretty expanded dump of trait new 51b607c2227 gccrs: macro: Allow builtin `MacroInvocation`s within the AST new ad9d75f5080 gccrs: Create and use CompilePatternLet visitor for compili [...] new 9cbd270632b gccrs: parser: Allow parsing multiple reference types new 2dab57c3f2f gccrs: Move rust-buffered-queue.h to util folder #1766 new fd7358af3cf gccrs: Improve GroupedPattern lowering new 95efd84db13 gccrs: Remove HIR::GroupedPattern new 0e4bf6e7fc4 gccrs: Optimize HIR::ReferencePattern new 86f53e5853d gccrs: Implement lowering ReferencePattern from AST to HIR new 2af66ebd1d8 gccrs: parser: Improve parsing of complex generic arguments new 7f5144d1c96 gccrs: parser: Fix parsing of closure param list new 476faea3563 gccrs: Add support for feature check. new 4141941ae7b gccrs: Removed comment copy-pasted from gcc/tree.def new 8d1d08cdbcf gccrs: Add another test case for passing associated type-bounds new c1b1bbbc645 gccrs: Move TypePredicateItem impl out of the header new 688fccb5227 gccrs: Refactor TyVar and TypeBoundPredicates new e42118c327f gccrs: Refactor SubstitutionRef base class into its own CC file new 6abbfb5280f gccrs: Refactor all substitution mapper code implementation [...] new d73082efece gccrs: Refactor BaseType, InferType and ErrorType impl into [...] new 26af4b0604d gccrs: Refactor PathProbe into cc file new 547e511fbdd gccrs: Refactor PathProbeType code into CC file new 615ee14c08e gccrs: Refactor all code out of the rust-tyty.h header new 6c4fa22d384 gccrs: Rename rust-tyctx.cc to rust-typecheck-context.cc new 1019fd6337b gccrs: Rename header rust-hir-trait-ref.h to rust-hir-trait [...] new dcb2e571ac6 gccrs: Refactor handle_substitutions to take a reference new 2f228578d56 gccrs: Clear the substitution callbacks when copying Argume [...] new 31f1e59962b gccrs: Add missing param subst callback new e42c28bcfdd gccrs: Remove monomorphization hack to setup possible assoc [...] new 68d671ac725 gccrs: Refactor the type unification code new 2a2e6712ba0 gccrs: Fix nullptr dereference new f62dcf2c65a gccrs: Add missing Sized, Copy and Clone lang item mappings new 9754a60623c gccrs: Fix higher ranked trait bounds computation of self new 11150b7c05c gccrs: Remove bad error message on checking function arguments new eb4a61ac1ba gccrs: Add general TypeBounds checks new fa7b3a2f07f gccrs: Add support for TuplePattern in let statements new 1c57244dbc0 gccrs: rust-item: include rust-expr.h new f548ddee96a gccrs: parser: Expose parse_macro_invocation as public API new 2d30e0b882f gccrs: expansion: Add `get_token_slice` to `MacroInvocLexer` class new 3821669164d gccrs: macros: Perform macro expansion in a fixed-point fashion. new fbd5244df6b gccrs: expander: Add documentation for `expand_eager_invocations` new 5fd04425c09 gccrs: typecheck: Refactor rust-hir-trait-reference.h new f64799a567e gccrs: cli: Update safety warning message new b4229fb086b gccrs: Update copyright years. new fd5eb9f2b01 gccrs: Add feature gate for "rust-intrinsic". new a9d72ef2d03 gccrs: Add variadic argument type checking new 8a9886a85ea gccrs: Add test new e81f5be60d1 gccrs: Simplify WildcardPattern let statement handling new b56d093e952 gccrs: lex: Prevent directories in RAIIFile new 7b00a80c9df gccrs: testsuite: Add empty string macro test new 20529dff93f gccrs: Add support for parsing empty tuple patterns. new fd406fc7046 gccrs: Implemented UTF-8 checking for include_str!() new c627781b8f6 gccrs: Extract query_type from TypeCheckBase to be a simple extern new e90d06c5447 gccrs: Add new virtual function HIR::ImplItem::get_impl_item_name new 4b25fc15b92 gccrs: Support for Sized builtin marker trait new a11b44b6a57 gccrs: Fix regression in testcase new ecdce2bf17a gccrs: Add trailing newline new 8b0ed2387a5 gccrs: builtins: Return empty list of tokens instead of nullptr new 6774d569c61 gccrs: Fix formatting new 8628486f487 gccrs: Add AST::AltPattern class new 0ec543c7c61 gccrs: Fix up DejaGnu directives in 'rust/compile/issue-183 [...] new 1a58da7c2d8 gccrs: rename rust-hir-full-tests.cc new 3b342e11627 gccrs: add test case to show our query-type system is working new fa7675df86a gccrs: ast: Refactor TraitItem to keep Location info new 2785d591116 gccrs: diagnostic: Refactor Error class new f2d6ab839ce gccrs: Added AST Node AST::InlineAsm new 990ae497b86 gccrs: Address unsafe with/without block handling ambiguity new d2a499a9881 gccrs: Fix issue with parsing unsafe block expression statements
The 88 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 | 14 +- gcc/rust/ast/rust-ast-dump.cc | 11 +- gcc/rust/ast/rust-ast-dump.h | 1 + gcc/rust/ast/rust-ast-fragment.cc | 44 +- gcc/rust/ast/rust-ast-fragment.h | 25 +- gcc/rust/ast/rust-ast-full-decls.h | 3 +- gcc/rust/ast/rust-ast-visitor.h | 1 + .../ast/{rust-ast-full-test.cc => rust-ast.cc} | 38 +- gcc/rust/ast/rust-ast.h | 18 +- gcc/rust/ast/rust-expr.h | 148 +- gcc/rust/ast/rust-item.h | 48 +- gcc/rust/ast/rust-macro.cc | 64 + gcc/rust/ast/rust-macro.h | 266 ++- gcc/rust/ast/rust-pattern.h | 140 +- gcc/rust/backend/rust-compile-base.cc | 4 +- gcc/rust/backend/rust-compile-expr.cc | 30 +- gcc/rust/backend/rust-compile-fnparam.h | 1 - gcc/rust/backend/rust-compile-pattern.cc | 129 ++ gcc/rust/backend/rust-compile-pattern.h | 78 +- gcc/rust/backend/rust-compile-resolve-path.h | 1 - gcc/rust/backend/rust-compile-stmt.cc | 31 +- gcc/rust/backend/rust-compile-var-decl.h | 33 +- .../errors/privacy/rust-visibility-resolver.cc | 4 +- gcc/rust/checks/errors/rust-const-checker.cc | 12 +- gcc/rust/checks/errors/rust-const-checker.h | 1 - gcc/rust/checks/errors/rust-feature-gate.cc | 108 ++ gcc/rust/checks/errors/rust-feature-gate.h | 197 +++ gcc/rust/checks/errors/rust-feature.cc | 66 + gcc/rust/checks/errors/rust-feature.h | 77 + gcc/rust/checks/errors/rust-unsafe-checker.cc | 33 +- gcc/rust/checks/errors/rust-unsafe-checker.h | 6 +- gcc/rust/expand/rust-attribute-visitor.cc | 20 +- gcc/rust/expand/rust-attribute-visitor.h | 37 +- gcc/rust/expand/rust-macro-builtins.cc | 320 +++- gcc/rust/expand/rust-macro-expand.cc | 152 +- gcc/rust/expand/rust-macro-expand.h | 63 +- gcc/rust/expand/rust-macro-invoc-lexer.cc | 14 + gcc/rust/expand/rust-macro-invoc-lexer.h | 3 + gcc/rust/hir/rust-ast-lower-base.cc | 3 + gcc/rust/hir/rust-ast-lower-base.h | 1 + gcc/rust/hir/rust-ast-lower-expr.cc | 2 +- gcc/rust/hir/rust-ast-lower-pattern.cc | 35 + gcc/rust/hir/rust-ast-lower-pattern.h | 2 + gcc/rust/hir/rust-ast-lower-type.cc | 2 +- gcc/rust/hir/rust-hir-dump.cc | 3 - gcc/rust/hir/rust-hir-dump.h | 1 - gcc/rust/hir/tree/rust-hir-expr.h | 2 +- gcc/rust/hir/tree/rust-hir-full-decls.h | 1 - gcc/rust/hir/tree/rust-hir-item.h | 17 +- gcc/rust/hir/tree/rust-hir-path.h | 4 +- gcc/rust/hir/tree/rust-hir-pattern.h | 94 +- gcc/rust/hir/tree/rust-hir-visitor.h | 3 - .../tree/{rust-hir-full-test.cc => rust-hir.cc} | 17 - gcc/rust/hir/tree/rust-hir.h | 2 + gcc/rust/lex/rust-lex.cc | 57 + gcc/rust/lex/rust-lex.h | 28 +- gcc/rust/lex/rust-token.h | 2 +- gcc/rust/parse/rust-parse-impl.h | 397 +++-- gcc/rust/parse/rust-parse.h | 9 +- gcc/rust/resolve/rust-ast-resolve-base.cc | 4 + gcc/rust/resolve/rust-ast-resolve-base.h | 1 + gcc/rust/resolve/rust-ast-resolve-pattern.h | 6 +- gcc/rust/resolve/rust-ast-resolve-type.cc | 5 + gcc/rust/resolve/rust-early-name-resolver.cc | 136 +- gcc/rust/resolve/rust-early-name-resolver.h | 68 +- gcc/rust/rust-backend.h | 2 +- gcc/rust/rust-diagnostics.cc | 43 +- gcc/rust/rust-diagnostics.h | 56 +- gcc/rust/rust-gcc.h | 2 +- gcc/rust/rust-session-manager.cc | 49 +- gcc/rust/typecheck/rust-coercion.cc | 6 +- gcc/rust/typecheck/rust-hir-path-probe.cc | 455 ++++- gcc/rust/typecheck/rust-hir-path-probe.h | 381 +--- gcc/rust/typecheck/rust-hir-trait-ref.h | 515 ------ gcc/rust/typecheck/rust-hir-trait-reference.cc | 475 +++++ gcc/rust/typecheck/rust-hir-trait-reference.h | 268 +++ gcc/rust/typecheck/rust-hir-trait-resolve.cc | 78 +- gcc/rust/typecheck/rust-hir-trait-resolve.h | 9 +- gcc/rust/typecheck/rust-hir-type-bounds.h | 34 +- gcc/rust/typecheck/rust-hir-type-check-base.cc | 88 +- gcc/rust/typecheck/rust-hir-type-check-base.h | 2 - gcc/rust/typecheck/rust-hir-type-check-expr.cc | 18 +- gcc/rust/typecheck/rust-hir-type-check-path.cc | 36 +- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 7 - gcc/rust/typecheck/rust-hir-type-check-pattern.h | 1 - gcc/rust/typecheck/rust-hir-type-check-stmt.cc | 14 +- gcc/rust/typecheck/rust-hir-type-check.h | 335 +--- gcc/rust/typecheck/rust-substitution-mapper.cc | 343 ++++ gcc/rust/typecheck/rust-substitution-mapper.h | 286 +-- gcc/rust/typecheck/rust-tyctx.cc | 190 -- gcc/rust/typecheck/rust-type-util.cc | 108 ++ ...ust-hir-type-check-util.cc => rust-type-util.h} | 29 +- gcc/rust/typecheck/rust-typecheck-context.cc | 569 ++++++ gcc/rust/typecheck/rust-tyty-bounds.cc | 222 ++- gcc/rust/typecheck/rust-tyty-bounds.h | 88 + gcc/rust/typecheck/rust-tyty-call.cc | 62 +- gcc/rust/typecheck/rust-tyty-rules.h | 1406 --------------- gcc/rust/typecheck/rust-tyty-subst.cc | 1048 +++++++++++ gcc/rust/typecheck/rust-tyty-subst.h | 327 ++++ gcc/rust/typecheck/rust-tyty-util.cc | 116 ++ gcc/rust/typecheck/rust-tyty-util.h | 69 + gcc/rust/typecheck/rust-tyty.cc | 1824 +++++++++++++------- gcc/rust/typecheck/rust-tyty.h | 1356 ++------------- gcc/rust/typecheck/rust-unify.cc | 1651 ++++++++++++++++++ gcc/rust/typecheck/rust-unify.h | 91 + gcc/rust/util/rust-attributes.cc | 7 + gcc/rust/util/rust-attributes.h | 1 + gcc/rust/{ => util}/rust-buffered-queue.h | 0 gcc/rust/util/rust-hir-map.cc | 17 +- gcc/rust/util/rust-hir-map.h | 3 + gcc/rust/util/rust-inline-visitor.h | 2 +- gcc/rust/util/rust-lang-item.h | 26 +- gcc/rust/{operator.h => util/rust-operators.h} | 0 gcc/testsuite/rust/bounds1.rs | 19 + gcc/testsuite/rust/compile/bounds.rs | 12 + ...in_macro_recurse.rs => builtin_macro_eager1.rs} | 0 gcc/testsuite/rust/compile/builtin_macro_eager2.rs | 16 + .../rust/compile/builtin_macro_include_str.rs | 1 + .../rust/compile/builtin_macro_recurse2.rs | 20 + gcc/testsuite/rust/compile/closure_move_expr.rs | 9 + gcc/testsuite/rust/compile/const-issue1440.rs | 1 + gcc/testsuite/rust/compile/const10.rs | 3 + gcc/testsuite/rust/compile/decl_macro1.rs | 2 + gcc/testsuite/rust/compile/decl_macro2.rs | 2 + gcc/testsuite/rust/compile/decl_macro3.rs | 4 + gcc/testsuite/rust/compile/decl_macro4.rs | 5 + gcc/testsuite/rust/compile/decl_macro5.rs | 5 + gcc/testsuite/rust/compile/decl_macro6.rs | 5 + gcc/testsuite/rust/compile/decl_macro7.rs | 4 + gcc/testsuite/rust/compile/diagnostic_underline.rs | 15 + .../pr57653-2.h => rust/compile/empty.in} | 0 gcc/testsuite/rust/compile/feature.rs | 4 + gcc/testsuite/rust/compile/feature_intrinsics.rs | 7 + gcc/testsuite/rust/compile/func3.rs | 1 - gcc/testsuite/rust/compile/include_empty.rs | 8 + gcc/testsuite/rust/compile/invalid_utf8 | 1 + gcc/testsuite/rust/compile/issue-1031.rs | 2 + gcc/testsuite/rust/compile/issue-1130.rs | 2 + gcc/testsuite/rust/compile/issue-1131.rs | 2 + gcc/testsuite/rust/compile/issue-1237.rs | 2 + gcc/testsuite/rust/compile/issue-1289.rs | 2 + gcc/testsuite/rust/compile/issue-1361.rs | 8 + gcc/testsuite/rust/compile/issue-1422.rs | 7 + gcc/testsuite/rust/compile/issue-1725-1.rs | 19 + gcc/testsuite/rust/compile/issue-1725-2.rs | 28 + gcc/testsuite/rust/compile/issue-1773.rs | 20 + gcc/testsuite/rust/compile/issue-1786.rs | 23 + gcc/testsuite/rust/compile/issue-1830_bytes.rs | 9 + gcc/testsuite/rust/compile/issue-1830_str.rs | 9 + gcc/testsuite/rust/compile/issue-867.rs | 8 + gcc/testsuite/rust/compile/macro17.rs | 6 +- gcc/testsuite/rust/compile/macro44.rs | 6 +- gcc/testsuite/rust/compile/macro45.rs | 7 + gcc/testsuite/rust/compile/macro46.rs | 19 + gcc/testsuite/rust/compile/multi_reference_type.rs | 12 + .../compile/{never_type_err1.rs => never_type1.rs} | 3 +- .../compile/parse_complex_generic_application.rs | 17 + .../compile/parse_complex_generic_application2.rs | 10 + .../rust/compile/parse_empty_tuple_pattern.rs | 3 + .../rust/compile/rust-const-blog-issue.rs | 2 + gcc/testsuite/rust/compile/torture/intrinsics-3.rs | 2 + gcc/testsuite/rust/compile/torture/intrinsics-4.rs | 65 +- gcc/testsuite/rust/compile/torture/intrinsics-5.rs | 68 +- gcc/testsuite/rust/compile/torture/intrinsics-6.rs | 2 + gcc/testsuite/rust/compile/torture/intrinsics-7.rs | 2 + gcc/testsuite/rust/compile/torture/issue-1024.rs | 2 + gcc/testsuite/rust/compile/torture/issue-1075.rs | 2 + gcc/testsuite/rust/compile/torture/issue-1432.rs | 1 + gcc/testsuite/rust/compile/torture/traits10.rs | 64 +- gcc/testsuite/rust/compile/unsafe10.rs | 2 + gcc/testsuite/rust/compile/unsafe11.rs | 8 + gcc/testsuite/rust/compile/variadic.rs | 8 + gcc/testsuite/rust/execute/torture/atomic_load.rs | 61 +- gcc/testsuite/rust/execute/torture/atomic_store.rs | 61 +- .../rust/execute/torture/builtin_macro_cfg.rs | 8 +- .../rust/execute/torture/builtin_macro_concat.rs | 2 +- .../rust/execute/torture/builtin_macro_env.rs | 2 +- .../execute/torture/builtin_macro_include_bytes.rs | 2 +- .../execute/torture/builtin_macro_include_str.rs | 2 +- .../rust/execute/torture/builtin_macro_line.rs | 2 +- .../rust/execute/torture/builtin_macros1.rs | 2 +- .../rust/execute/torture/builtin_macros3.rs | 5 +- gcc/testsuite/rust/execute/torture/cfg1.rs | 2 +- gcc/testsuite/rust/execute/torture/cfg2.rs | 2 +- gcc/testsuite/rust/execute/torture/cfg3.rs | 2 +- gcc/testsuite/rust/execute/torture/cfg4.rs | 2 +- gcc/testsuite/rust/execute/torture/closure2.rs | 2 +- gcc/testsuite/rust/execute/torture/closure3.rs | 2 +- gcc/testsuite/rust/execute/torture/coercion1.rs | 2 +- gcc/testsuite/rust/execute/torture/coercion2.rs | 2 +- .../rust/execute/torture/copy_nonoverlapping1.rs | 2 + gcc/testsuite/rust/execute/torture/decl_macro1.rs | 8 + gcc/testsuite/rust/execute/torture/decl_macro2.rs | 8 + gcc/testsuite/rust/execute/torture/decl_macro3.rs | 15 + gcc/testsuite/rust/execute/torture/decl_macro4.rs | 15 + gcc/testsuite/rust/execute/torture/extern_mod4.rs | 2 +- gcc/testsuite/rust/execute/torture/helloworld1.rs | 2 +- gcc/testsuite/rust/execute/torture/helloworld2.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-1120.rs | 2 + gcc/testsuite/rust/execute/torture/issue-1133.rs | 2 + gcc/testsuite/rust/execute/torture/issue-1198.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-1231.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-1232.rs | 4 +- gcc/testsuite/rust/execute/torture/issue-1249.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-1436.rs | 1 - gcc/testsuite/rust/execute/torture/issue-1496.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-1720-2.rs | 30 + gcc/testsuite/rust/execute/torture/issue-1720.rs | 26 + gcc/testsuite/rust/execute/torture/issue-647.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-845.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-851.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-858.rs | 2 +- gcc/testsuite/rust/execute/torture/issue-976.rs | 2 +- .../rust/execute/torture/let-pattern-1.rs | 4 + .../rust/execute/torture/loop-condition-eval.rs | 2 +- gcc/testsuite/rust/execute/torture/macros10.rs | 2 +- gcc/testsuite/rust/execute/torture/macros11.rs | 2 +- gcc/testsuite/rust/execute/torture/macros12.rs | 2 +- gcc/testsuite/rust/execute/torture/macros13.rs | 2 +- gcc/testsuite/rust/execute/torture/macros14.rs | 2 +- gcc/testsuite/rust/execute/torture/macros2.rs | 2 +- gcc/testsuite/rust/execute/torture/macros22.rs | 2 +- gcc/testsuite/rust/execute/torture/macros29.rs | 2 +- gcc/testsuite/rust/execute/torture/macros3.rs | 2 +- gcc/testsuite/rust/execute/torture/macros30.rs | 2 +- gcc/testsuite/rust/execute/torture/macros31.rs | 2 +- gcc/testsuite/rust/execute/torture/macros7.rs | 2 +- gcc/testsuite/rust/execute/torture/macros8.rs | 2 +- gcc/testsuite/rust/execute/torture/macros9.rs | 2 +- gcc/testsuite/rust/execute/torture/match1.rs | 2 +- gcc/testsuite/rust/execute/torture/match2.rs | 2 +- gcc/testsuite/rust/execute/torture/match3.rs | 2 +- gcc/testsuite/rust/execute/torture/match_bool1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_byte1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_char1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_int1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_loop1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_range1.rs | 2 +- gcc/testsuite/rust/execute/torture/match_range2.rs | 2 +- gcc/testsuite/rust/execute/torture/match_tuple1.rs | 2 +- gcc/testsuite/rust/execute/torture/method1.rs | 2 +- gcc/testsuite/rust/execute/torture/method2.rs | 2 +- gcc/testsuite/rust/execute/torture/method3.rs | 2 +- gcc/testsuite/rust/execute/torture/method4.rs | 2 +- .../rust/execute/torture/operator_overload_1.rs | 2 +- .../rust/execute/torture/operator_overload_10.rs | 2 +- .../rust/execute/torture/operator_overload_11.rs | 2 +- .../rust/execute/torture/operator_overload_12.rs | 2 +- .../rust/execute/torture/operator_overload_2.rs | 2 +- .../rust/execute/torture/operator_overload_3.rs | 2 +- .../rust/execute/torture/operator_overload_4.rs | 2 +- .../rust/execute/torture/operator_overload_5.rs | 2 +- .../rust/execute/torture/operator_overload_6.rs | 2 +- .../rust/execute/torture/operator_overload_7.rs | 2 +- .../rust/execute/torture/operator_overload_8.rs | 2 +- .../rust/execute/torture/operator_overload_9.rs | 2 +- gcc/testsuite/rust/execute/torture/overflow1.rs | 2 +- gcc/testsuite/rust/execute/torture/slice-magic.rs | 2 + gcc/testsuite/rust/execute/torture/slice-magic2.rs | 2 + gcc/testsuite/rust/execute/torture/str-layout1.rs | 4 +- gcc/testsuite/rust/execute/torture/str-zero.rs | 33 +- gcc/testsuite/rust/execute/torture/trait1.rs | 2 +- gcc/testsuite/rust/execute/torture/trait10.rs | 2 +- gcc/testsuite/rust/execute/torture/trait11.rs | 2 +- gcc/testsuite/rust/execute/torture/trait12.rs | 2 +- gcc/testsuite/rust/execute/torture/trait13.rs | 2 +- gcc/testsuite/rust/execute/torture/trait2.rs | 2 +- gcc/testsuite/rust/execute/torture/trait3.rs | 2 +- gcc/testsuite/rust/execute/torture/trait4.rs | 2 +- gcc/testsuite/rust/execute/torture/trait5.rs | 2 +- gcc/testsuite/rust/execute/torture/trait6.rs | 2 +- gcc/testsuite/rust/execute/torture/trait7.rs | 2 +- gcc/testsuite/rust/execute/torture/trait8.rs | 2 +- gcc/testsuite/rust/execute/torture/trait9.rs | 2 +- gcc/testsuite/rust/execute/torture/transmute1.rs | 1 + gcc/testsuite/rust/execute/torture/wrapping_op1.rs | 2 + gcc/testsuite/rust/execute/torture/wrapping_op2.rs | 2 + 277 files changed, 11100 insertions(+), 5816 deletions(-) rename gcc/rust/ast/{rust-ast-full-test.cc => rust-ast.cc} (99%) create mode 100644 gcc/rust/ast/rust-macro.cc create mode 100644 gcc/rust/checks/errors/rust-feature-gate.cc create mode 100644 gcc/rust/checks/errors/rust-feature-gate.h create mode 100644 gcc/rust/checks/errors/rust-feature.cc create mode 100644 gcc/rust/checks/errors/rust-feature.h rename gcc/rust/hir/tree/{rust-hir-full-test.cc => rust-hir.cc} (99%) delete mode 100644 gcc/rust/typecheck/rust-hir-trait-ref.h create mode 100644 gcc/rust/typecheck/rust-hir-trait-reference.cc create mode 100644 gcc/rust/typecheck/rust-hir-trait-reference.h delete mode 100644 gcc/rust/typecheck/rust-tyctx.cc create mode 100644 gcc/rust/typecheck/rust-type-util.cc copy gcc/rust/typecheck/{rust-hir-type-check-util.cc => rust-type-util.h} (70%) create mode 100644 gcc/rust/typecheck/rust-typecheck-context.cc create mode 100644 gcc/rust/typecheck/rust-tyty-bounds.h delete mode 100644 gcc/rust/typecheck/rust-tyty-rules.h create mode 100644 gcc/rust/typecheck/rust-tyty-subst.cc create mode 100644 gcc/rust/typecheck/rust-tyty-subst.h create mode 100644 gcc/rust/typecheck/rust-tyty-util.cc create mode 100644 gcc/rust/typecheck/rust-tyty-util.h create mode 100644 gcc/rust/typecheck/rust-unify.cc create mode 100644 gcc/rust/typecheck/rust-unify.h rename gcc/rust/{ => util}/rust-buffered-queue.h (100%) rename gcc/rust/{operator.h => util/rust-operators.h} (100%) create mode 100644 gcc/testsuite/rust/bounds1.rs create mode 100644 gcc/testsuite/rust/compile/bounds.rs rename gcc/testsuite/rust/compile/{builtin_macro_recurse.rs => builtin_macro_eager [...] create mode 100644 gcc/testsuite/rust/compile/builtin_macro_eager2.rs create mode 100644 gcc/testsuite/rust/compile/builtin_macro_recurse2.rs create mode 100644 gcc/testsuite/rust/compile/closure_move_expr.rs create mode 100644 gcc/testsuite/rust/compile/const10.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro1.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro2.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro3.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro4.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro5.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro6.rs create mode 100644 gcc/testsuite/rust/compile/decl_macro7.rs create mode 100644 gcc/testsuite/rust/compile/diagnostic_underline.rs copy gcc/testsuite/{c-c++-common/pr57653-2.h => rust/compile/empty.in} (100%) create mode 100644 gcc/testsuite/rust/compile/feature.rs create mode 100644 gcc/testsuite/rust/compile/feature_intrinsics.rs create mode 100644 gcc/testsuite/rust/compile/include_empty.rs create mode 100644 gcc/testsuite/rust/compile/invalid_utf8 create mode 100644 gcc/testsuite/rust/compile/issue-1361.rs create mode 100644 gcc/testsuite/rust/compile/issue-1422.rs create mode 100644 gcc/testsuite/rust/compile/issue-1725-1.rs create mode 100644 gcc/testsuite/rust/compile/issue-1725-2.rs create mode 100644 gcc/testsuite/rust/compile/issue-1773.rs create mode 100644 gcc/testsuite/rust/compile/issue-1786.rs create mode 100644 gcc/testsuite/rust/compile/issue-1830_bytes.rs create mode 100644 gcc/testsuite/rust/compile/issue-1830_str.rs create mode 100644 gcc/testsuite/rust/compile/issue-867.rs create mode 100644 gcc/testsuite/rust/compile/macro45.rs create mode 100644 gcc/testsuite/rust/compile/macro46.rs create mode 100644 gcc/testsuite/rust/compile/multi_reference_type.rs rename gcc/testsuite/rust/compile/{never_type_err1.rs => never_type1.rs} (52%) create mode 100644 gcc/testsuite/rust/compile/parse_complex_generic_application.rs create mode 100644 gcc/testsuite/rust/compile/parse_complex_generic_application2.rs create mode 100644 gcc/testsuite/rust/compile/parse_empty_tuple_pattern.rs create mode 100644 gcc/testsuite/rust/compile/unsafe11.rs create mode 100644 gcc/testsuite/rust/compile/variadic.rs create mode 100644 gcc/testsuite/rust/execute/torture/decl_macro1.rs create mode 100644 gcc/testsuite/rust/execute/torture/decl_macro2.rs create mode 100644 gcc/testsuite/rust/execute/torture/decl_macro3.rs create mode 100644 gcc/testsuite/rust/execute/torture/decl_macro4.rs create mode 100644 gcc/testsuite/rust/execute/torture/issue-1720-2.rs create mode 100644 gcc/testsuite/rust/execute/torture/issue-1720.rs create mode 100644 gcc/testsuite/rust/execute/torture/let-pattern-1.rs