diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-01 22:09:47 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-03 19:27:24 +0000 |
commit | 4ab9d9ce3366e51ccfe8a6a1a94e0eafedec5abb (patch) | |
tree | 341d783caf88e7061cb929c17426120141072297 /gcc/rust/resolve | |
parent | 22465fbc8cca239aadcb35cd51d820d6d7213238 (diff) | |
download | gcc-4ab9d9ce3366e51ccfe8a6a1a94e0eafedec5abb.zip gcc-4ab9d9ce3366e51ccfe8a6a1a94e0eafedec5abb.tar.gz gcc-4ab9d9ce3366e51ccfe8a6a1a94e0eafedec5abb.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/resolve')
0 files changed, 0 insertions, 0 deletions