diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-01 22:09:47 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:19:03 +0100 |
commit | fca49c4d4a19c88bd6f3f18d27a56047e4a9bb80 (patch) | |
tree | b1f4b3f8c12912ae8a7fc51ea37c7b8d6a12c00f /gcc/rust/hir/tree/rust-hir.h | |
parent | 3df5ed955d338231ec896462b658283c46d31c60 (diff) | |
download | gcc-fca49c4d4a19c88bd6f3f18d27a56047e4a9bb80.zip gcc-fca49c4d4a19c88bd6f3f18d27a56047e4a9bb80.tar.gz gcc-fca49c4d4a19c88bd6f3f18d27a56047e4a9bb80.tar.bz2 |
gccrs: Fix missing move and copy constructors missing the associated-path
Addresses #1524
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:
* ast/rust-ast.cc (QualifiedPathInType::as_string): add missing to string
* ast/rust-path.h: add missing copy+move constructors and assignment overloads
* hir/tree/rust-hir-path.h: likewise
* hir/tree/rust-hir.cc (QualifiedPathInType::as_string): add missing to string
gcc/testsuite/ChangeLog:
* rust/compile/parse_associated_type_as_generic_arg.rs: it now works without -fsyntax-only
* rust/compile/parse_associated_type_as_generic_arg2.rs: likewise
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions