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 429e258dbe7 ci: Run GCC 4.8 job in Ubuntu 18.04 container new 1145917c6b8 typecheck: Refactor unify_site new 918851ad2c9 typecheck: Refactor coercion_site new f60c15f5099 parser: Add parsing of auto traits adds 7e7a9588044 gccrs: Fix missing dead code analysis ICE on local enum definition adds 70808544618 gccrs: visibility: Rename get_public_vis_type -> get_vis_type adds 1e8eb102200 gccrs: dump: Emit visibility when dumping items adds 543ba35905b gccrs: Add catch for recusive type queries adds d072b4a5164 gccrs: testing: try loop in const function adds 980bd25e256 gccrs: ast: dump assignment and compound assignment expr adds aeed747093c gccrs: ast: dump If expressions adds 00e0684a78a gccrs: builtins: Move implementation into source file adds 79434fabf76 gccrs: Track DefId on ADT variants adds 31b77593edb gccrs: Ensure uniqueness on Path probe's adds a5d3586a9b1 gccrs: Support looking up super traits for trait items adds 8d02ef57a69 gccrs: ast: dump: add emit_generic_params helper adds 4c807ef70db gccrs: ast: dump: add format_{tuple,struct}_field helpers adds 0a762d20498 gccrs: ast: dump structs, enums and unions adds ab6d8ad3f59 gccrs: intrinsics: Add data prefetching intrinsics adds 570415e75c4 gccrs: fix ICE on missing closing paren adds a08f265625e gccrs: mappings: Add MacroInvocation -> MacroRulesDef mappings adds 295cd265088 gccrs: rust-ast-resolve-item: Add note about resolving glob uses adds 2f1035fc91c gccrs: ast: Add accept_vis() method to `GenericArg` adds 52219746917 gccrs: early-name-resolver: Add simple macro name resolution adds 13556413e38 gccrs: Support type resolution on super traits on dyn objects adds f49e2528241 gccrs: Add mappings for fn_once lang item adds 2d7661e76e1 gccrs: Add ABI mappings for rust-call to map to ABI::RUST adds 59bee4d4663 gccrs: Method resolution must support multiple candidates adds b1510ce0fc7 gccrs: ast: dump: fix extra newline in block without tail adds 0a9114c151b gccrs: ast: dump: minor fixups to IfExpr formatting adds c091fd5f4a2 gccrs: ast: dump: ComparisonExpr and LazyBooleanExpr adds f26e9ca3e9a gccrs: ast: dump: ArrayExpr adds d1db46191ea gccrs: ast: dump: various simple Exprs adds 173f98ae49d gccrs: ast: dump: RangeExprs adds 74065c000e3 gccrs: Refactor TraitResolver to not require a visitor adds acbaadfa46d gccrs: ast: dump TypeAlias adds 8f0b1526e04 gccrs: Support outer attribute handling on trait items just [...] adds 421494b5929 gccrs: dump: Emit visibility when dumping items adds 31150a6366d gccrs: dump: Dump items within modules adds 2f16df1b443 gccrs: dump: Fix module dumping adds e535b7b3e38 gccrs: ast: Module: unloaded module and inner attributes adds ec28fdb6aad gccrs: dump: Dump macro rules definition adds 643ec1c253d gccrs: Add check for recursive trait cycles adds e2647e5e5ad gccrs: ast: Refactor ASTFragment -> Fragment class adds 68e743090df gccrs: rust: Replace uses of ASTFragment -> Fragment adds b326cced19e gccrs: ast: Improve Fragment API adds ed75e142a70 gccrs: Add missing fn_once_output langitem adds 870dd9d5d3c gccrs: Refactor expression hir lowering into cc file adds 9e19f329e52 gccrs: Formatting cleanup in HIR lowering pattern adds 977e0e5227d gccrs: Add name resolution for closures adds 4d021d9e019 gccrs: Refactor method call type checking adds 898240946ca gccrs: Add closures to lints and error checking adds 740a1997228 gccrs: Initial Type resolution for closures adds 699e7e86276 gccrs: Closure support at CallExpr adds 12e94515f89 gccrs: Add missing name resolution to Function type-path segments adds 875f722de5e gccrs: Add missing hir lowering to function type-path segments adds 51d180fcd7e gccrs: Add missing type resolution for function type segments adds 21d19d2cf60 gccrs: Support Closure calls as generic trait bounds adds a8531cd9a82 gccrs: Implement the inline visitor adds 6ef1089ec27 gccrs: rust: Allow gccrs to build on x86_64-apple-darwin wi [...] adds 4d39d3912ff gccrs: builtins: Rename all bang macro handlers adds 782e070374a gccrs: intrinsics: Add `sorry_handler` intrinsic handler adds 514284ecd97 gccrs: constexpr: Add `rust_sorry_at` in places relying on [...] adds a7c8f7ee343 gccrs: intrinsics: Add early implementation for atomic_stor [...] adds 1c586a1d1c1 gccrs: intrinsics: Add unchecked operation intrinsics adds cb2cf21cf33 gccrs: intrinsics: Use lambdas for wrapping_<op> intrinsics adds f4c818c623c gccrs: intrinsics: Cleanup error handling around atomic_store_* adds 5b5a0ca7717 gccrs: intrinsics: Implement atomic_load intrinsics adds aedd97a537c gccrs: ast: visitor pattern -> overload syntax compatibility layer adds 3b5fb3f89b0 gccrs: ast: transform helper methods to visits and add meth [...] adds a56faba9636 gccrs: ast: refer correctly to arguments in docs-strings adds 04a16c58e34 gccrs: ast: Dump unit struct adds 2fc01303604 gccrs: add lang item "phantom_data" adds b84222899ca gccrs: add Location to AST::Visibility adds 85f69a9b6ab gccrs: typecheck: Fix overzealous `delete` call adds 907d11194ed gccrs: ast: add visit overload for references adds bd2240d30f8 gccrs: ast: Dump where clause and recursively needed nodes adds 59fb0747cc2 gccrs: ast: Dump slice type adds 140a2aed7e1 gccrs: ast: Dump array type adds 971d16cbfad gccrs: ast: Dump raw pointer type adds c4c859bff8d gccrs: ast: Dump never type adds 91409d27d5c gccrs: ast: Dump tuple type adds ee0166fa1b8 gccrs: ast: Dump inferred type adds ae1f6b3a96d gccrs: ast: Dump bare function type adds ca06115eac1 gccrs: ast: Dump impl trait type one bound adds 638f65b2083 gccrs: ast: Dump impl trait type adds 7ed4a0ebc1d gccrs: ast: Dump trait object type adds e311e9b7c59 gccrs: ast: Dump parenthesised type adds 0bb33cb5741 gccrs: ast: Dump trait object type one bound adds 1acb7e02ed8 gccrs: ast: Dump type param type adds b8863414eda gccrs: ast: Dump generic parameters adds ce13edd879d gccrs: ast: Remove unused include in rust-ast-dump.cc adds 0e44abb1b50 gccrs: ast: Dump remove /* stmp */ comment to not clutter the dump adds 567494f7030 gccrs: ast: Dump no comma after self in fn params if it is [...] adds 78c70a50f74 gccrs: Remove default location. Add visibility location to [...] adds 0ef795c3278 gccrs: Improve lexer dump adds 01af669357c gccrs: Get rid of make builtin macro adds 32a4659c5e4 gccrs: Refactor name resolver to take a Rib::ItemType adds f7c258b2911 gccrs: Add closure binding's tracking to name resolution adds eb1202224f8 gccrs: Add capture tracking to the type info for closures adds 92389b46a96 gccrs: Add initial support for argument capture of closures adds e7a69d4533a gccrs: Fix undefined behaviour issues on macos adds 03df9a040c9 gccrs: Skip this debug test case which is failing on the la [...] adds 9f455ed820c gccrs: Cleanup unused parameters to fix the bootstrap build adds b9203d82ad2 gccrs: Repair 'gcc/rust/lang.opt' comment adds 064bbd0fe10 gccrs: const evaluator: Remove get_nth_callarg adds ecb409b23b8 gccrs: add math intrinsics adds e28c5b33b98 Update copyright years. new a04fb4ed9e4 Merge upstream (dummy), 2023-02-21 "Rust front-end update" new 53059c7e103 Merge remote-tracking branch 'upstream/tschwinge/merge-upstream'
The 5 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-item.h | 13 ++++-- gcc/rust/checks/errors/rust-feature.cc | 5 +- gcc/rust/checks/errors/rust-feature.h | 1 + gcc/rust/lex/rust-lex.cc | 23 ++-------- gcc/rust/lex/rust-token.h | 3 +- gcc/rust/parse/rust-parse-impl.h | 36 +++++++++++++-- gcc/rust/typecheck/rust-autoderef.cc | 6 +-- gcc/rust/typecheck/rust-hir-trait-resolve.cc | 21 ++++----- gcc/rust/typecheck/rust-hir-type-check-base.cc | 58 ++---------------------- gcc/rust/typecheck/rust-hir-type-check-base.h | 14 ++---- gcc/rust/typecheck/rust-hir-type-check.cc | 16 +++---- gcc/rust/typecheck/rust-type-util.cc | 58 ++++++++++++++++++++++-- gcc/rust/typecheck/rust-type-util.h | 9 ++++ gcc/rust/typecheck/rust-tyty-call.cc | 28 +++++++----- gcc/testsuite/rust/compile/auto_trait_invalid.rs | 16 +++++++ gcc/testsuite/rust/compile/auto_trait_valid.rs | 10 ++++ 16 files changed, 183 insertions(+), 134 deletions(-) create mode 100644 gcc/testsuite/rust/compile/auto_trait_invalid.rs create mode 100644 gcc/testsuite/rust/compile/auto_trait_valid.rs