diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2025-05-02 20:28:15 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-05-07 15:33:20 +0000 |
commit | 98573bd61ef95e4224bc2d050fa1f47d893f2c31 (patch) | |
tree | 164dde56df7e6c356b54d041ecb21034eea73893 /gcc/rust/backend/rust-compile-pattern.h | |
parent | 927d067721e91ad3d702f9b9efaf939afd319ef1 (diff) | |
download | gcc-98573bd61ef95e4224bc2d050fa1f47d893f2c31.zip gcc-98573bd61ef95e4224bc2d050fa1f47d893f2c31.tar.gz gcc-98573bd61ef95e4224bc2d050fa1f47d893f2c31.tar.bz2 |
Improve canonical path handling for impl items
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-item.cc
(ResolveItem::visit): Use the return values of
CanonicalPath::inherent_impl_seg and
CanonicalPath::trait_impl_projection_seg more directly.
* util/rust-canonical-path.h
(CanonicalPath::trait_impl_projection_seg): Append "<impl "
instead of "<" to the beginning of the returned path segment.
(CanonicalPath::inherent_impl_seg): Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.h')
0 files changed, 0 insertions, 0 deletions