diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-08-19 21:12:31 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-08-20 13:32:14 +0100 |
commit | 048261647afd1a08f681b78c90c58a9baaeef76d (patch) | |
tree | 47dc551f706c4015c017a299a4054cb7db460857 /gcc/rust/backend/rust-compile-context.h | |
parent | 1dc718474044149ec1aa6bee9ea8e83d778f17f2 (diff) | |
download | gcc-048261647afd1a08f681b78c90c58a9baaeef76d.zip gcc-048261647afd1a08f681b78c90c58a9baaeef76d.tar.gz gcc-048261647afd1a08f681b78c90c58a9baaeef76d.tar.bz2 |
Add qualified path support
Qualified paths need to lookup the associated trait item and mangle the
names apropriatly.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-context.h b/gcc/rust/backend/rust-compile-context.h index 6356ccc..66d037d 100644 --- a/gcc/rust/backend/rust-compile-context.h +++ b/gcc/rust/backend/rust-compile-context.h @@ -287,7 +287,7 @@ public: // this needs to support Legacy and V0 see github #429 or #305 std::string mangle_item (const TyTy::BaseType *ty, - const std::string &name) const; + const Resolver::CanonicalPath &path) const; std::string mangle_impl_item (const TyTy::BaseType *self, const TyTy::BaseType *ty, |