diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-04-10 11:06:35 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-04-10 11:09:15 +0200 |
commit | df3a80d97fe58eafcd880448b3768ca302c743f6 (patch) | |
tree | 778c6eb8324fa714713ce30a0897e44cf276508b /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | 3757e8d71794cece4a5c9d08245b7ad111044853 (diff) | |
parent | d2a499a9881c7c079d2a722b57c7fcf022a864dd (diff) | |
download | gcc-df3a80d97fe58eafcd880448b3768ca302c743f6.zip gcc-df3a80d97fe58eafcd880448b3768ca302c743f6.tar.gz gcc-df3a80d97fe58eafcd880448b3768ca302c743f6.tar.bz2 |
Merge upstream (dummy), "Rust front-end update 2023-04-05"
In #2112 'Merge upstream, last commit before "Rust front-end update 2023-04-05"'
we merged commit 939fb3fffebf7be2638ddef25dbe1c15f2aaa9d6 from upstream GCC
master branch.
This one now merges the "Rust front-end update 2023-04-05", commits
939fb3fffebf7be2638ddef25dbe1c15f2aaa9d6..d2a499a9881c7c079d2a722b57c7fcf022a864dd:
- f66b135d0b5 gccrs: fatal_error_flag: Fix typo in error message
- 776ff053800 gccrs: unsafe: check use of `target_feature` attribute
- d9e05700ac3 gccrs: Check for mutable references in const functions
- ef792b9658d gccrs: rust: add bound parsing in parse_generic_arg.
- e1394230b3f gccrs: Implement declarative macro 2.0 parser
- 3f1dbb2cf8f gccrs: Add name resolution to generic argument associated item bindings
- 7eab9d18d97 gccrs: Support associated type bound arguments
- 364f4cd3072 gccrs: Reuse TypeCheckPattern on LetStmt's
- 8e2abbef4cc gccrs: Add get_locus function for abstract class MetaItemInner.
- 86f8e47f9df gccrs: diagnostics: Add underline for tokens in diagnostics.
- 881ed7fb273 gccrs: Change how CompileVarDecl outputs Bvariable's
- 60affc3a1c5 gccrs: testsuite: Handle Windows carriage returns properly
- 910e7e0a958 gccrs: Support GroupedPattern during name resolution
- cb42610bfba gccrs: Do not crash on empty macros expand. Fixes #1712
- 93fcadd208a gccrs: Add HIR lowering for GroupedPattern
- d5a303cc664 gccrs: Add get_item method for HIR::GroupedPattern
- 83e5f634d74 gccrs: Add type resolution for grouped patterns
- 221650c280c gccrs: Added missing GroupedPattern visitors for code generation
- 9b19e93873c gccrs: Rename file rust-ast-full-test.cc to rust-ast.cc
- d6cb04bf5c0 gccrs: moved operator.h to util/rust-operators.h
- 760f529d813 gccrs: fixed compiler error message on wildcard pattern within expression
- 8e7e682a9f8 gccrs: fixed indentations in AST pretty expanded dump of trait
- 51b607c2227 gccrs: macro: Allow builtin `MacroInvocation`s within the AST
- ad9d75f5080 gccrs: Create and use CompilePatternLet visitor for compiling let statments
- 9cbd270632b gccrs: parser: Allow parsing multiple reference types
- 2dab57c3f2f gccrs: Move rust-buffered-queue.h to util folder #1766
- fd7358af3cf gccrs: Improve GroupedPattern lowering
- 95efd84db13 gccrs: Remove HIR::GroupedPattern
- 0e4bf6e7fc4 gccrs: Optimize HIR::ReferencePattern
- 86f53e5853d gccrs: Implement lowering ReferencePattern from AST to HIR
- 2af66ebd1d8 gccrs: parser: Improve parsing of complex generic arguments
- 7f5144d1c96 gccrs: parser: Fix parsing of closure param list
- 476faea3563 gccrs: Add support for feature check.
- 4141941ae7b gccrs: Removed comment copy-pasted from gcc/tree.def
- 8d1d08cdbcf gccrs: Add another test case for passing associated type-bounds
- c1b1bbbc645 gccrs: Move TypePredicateItem impl out of the header
- 688fccb5227 gccrs: Refactor TyVar and TypeBoundPredicates
- e42118c327f gccrs: Refactor SubstitutionRef base class into its own CC file
- 6abbfb5280f gccrs: Refactor all substitution mapper code implementation into its own CC file
- d73082efece gccrs: Refactor BaseType, InferType and ErrorType impl into cc file
- 26af4b0604d gccrs: Refactor PathProbe into cc file
- 547e511fbdd gccrs: Refactor PathProbeType code into CC file
- 615ee14c08e gccrs: Refactor all code out of the rust-tyty.h header
- 6c4fa22d384 gccrs: Rename rust-tyctx.cc to rust-typecheck-context.cc
- 1019fd6337b gccrs: Rename header rust-hir-trait-ref.h to rust-hir-trait-reference.h
- dcb2e571ac6 gccrs: Refactor handle_substitutions to take a reference
- 2f228578d56 gccrs: Clear the substitution callbacks when copying ArgumentMappings
- 31f1e59962b gccrs: Add missing param subst callback
- e42c28bcfdd gccrs: Remove monomorphization hack to setup possible associated types
- 68d671ac725 gccrs: Refactor the type unification code
- 2a2e6712ba0 gccrs: Fix nullptr dereference
- f62dcf2c65a gccrs: Add missing Sized, Copy and Clone lang item mappings
- 9754a60623c gccrs: Fix higher ranked trait bounds computation of self
- 11150b7c05c gccrs: Remove bad error message on checking function arguments
- eb4a61ac1ba gccrs: Add general TypeBounds checks
- fa7b3a2f07f gccrs: Add support for TuplePattern in let statements
- 1c57244dbc0 gccrs: rust-item: include rust-expr.h
- f548ddee96a gccrs: parser: Expose parse_macro_invocation as public API
- 2d30e0b882f gccrs: expansion: Add `get_token_slice` to `MacroInvocLexer` class
- 3821669164d gccrs: macros: Perform macro expansion in a fixed-point fashion.
- fbd5244df6b gccrs: expander: Add documentation for `expand_eager_invocations`
- 5fd04425c09 gccrs: typecheck: Refactor rust-hir-trait-reference.h
- f64799a567e gccrs: cli: Update safety warning message
- b4229fb086b gccrs: Update copyright years.
- fd5eb9f2b01 gccrs: Add feature gate for "rust-intrinsic".
- a9d72ef2d03 gccrs: Add variadic argument type checking
- 8a9886a85ea gccrs: Add test
- e81f5be60d1 gccrs: Simplify WildcardPattern let statement handling
- b56d093e952 gccrs: lex: Prevent directories in RAIIFile
- 7b00a80c9df gccrs: testsuite: Add empty string macro test
- 20529dff93f gccrs: Add support for parsing empty tuple patterns.
- fd406fc7046 gccrs: Implemented UTF-8 checking for include_str!()
- c627781b8f6 gccrs: Extract query_type from TypeCheckBase to be a simple extern
- e90d06c5447 gccrs: Add new virtual function HIR::ImplItem::get_impl_item_name
- 4b25fc15b92 gccrs: Support for Sized builtin marker trait
- a11b44b6a57 gccrs: Fix regression in testcase
- ecdce2bf17a gccrs: Add trailing newline
- 8b0ed2387a5 gccrs: builtins: Return empty list of tokens instead of nullptr
- 6774d569c61 gccrs: Fix formatting
- 8628486f487 gccrs: Add AST::AltPattern class
- 0ec543c7c61 gccrs: Fix up DejaGnu directives in 'rust/compile/issue-1830_{bytes,str}.rs' test cases [#1838]
- 1a58da7c2d8 gccrs: rename rust-hir-full-tests.cc
- 3b342e11627 gccrs: add test case to show our query-type system is working
- fa7675df86a gccrs: ast: Refactor TraitItem to keep Location info
- 2785d591116 gccrs: diagnostic: Refactor Error class
- f2d6ab839ce gccrs: Added AST Node AST::InlineAsm
- 990ae497b86 gccrs: Address unsafe with/without block handling ambiguity
- d2a499a9881 gccrs: Fix issue with parsing unsafe block expression statements
This merge is done with 'git merge --strategy=ours', so effectively doesn't
merge any changes. Rationale: those commits are taken from GCC/Rust master
branch, and any remaining changes we'd either like to persist, or assess
individually, later.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions