diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-02-03 20:17:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 20:17:06 +0000 |
commit | 8d96698ffcb5d716e9ab41ba0c1775adb3ef15fe (patch) | |
tree | 9cace9ecf941671fce016825eac5b020a5c3b08d /gcc/rust/backend/rust-compile-pattern.h | |
parent | 868b0626e50af583e396761d87522e3c58c412bd (diff) | |
parent | 1b46cfb35ac4ea7e5e00ac9a332ac7daeeeeb0ba (diff) | |
download | gcc-8d96698ffcb5d716e9ab41ba0c1775adb3ef15fe.zip gcc-8d96698ffcb5d716e9ab41ba0c1775adb3ef15fe.tar.gz gcc-8d96698ffcb5d716e9ab41ba0c1775adb3ef15fe.tar.bz2 |
Merge #1818
1818: Implement lowering ReferencePattern from AST to HIR r=CohenArthur a=powerboat9
gcc/rust/ChangeLog:
* ast/rust-pattern.h (ReferencePattern::get_has_two_amps): Add method. (ReferencePattern::get_is_mut): Add method.
* hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::visit): Add ReferencePattern visitor.
* hir/rust-ast-lower-pattern.h (ASTLoweringPattern::visit): Add ReferencePattern visitor.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Partially addresses #1813
Co-authored-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.h')
0 files changed, 0 insertions, 0 deletions