aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-06-02 12:13:43 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-06-02 12:13:43 +0100
commit91b16af14cb4f7cdf6414b1314c35202d5883fd9 (patch)
tree6ac31cb5ba06995459ea6d979f5a520de2f5a60b /gcc/rust/backend/rust-compile-expr.h
parent0866a4fbc6e7f70cd3708467419c60af8c6104f2 (diff)
downloadgcc-91b16af14cb4f7cdf6414b1314c35202d5883fd9.zip
gcc-91b16af14cb4f7cdf6414b1314c35202d5883fd9.tar.gz
gcc-91b16af14cb4f7cdf6414b1314c35202d5883fd9.tar.bz2
Fixup name canonicalization for impl blocks
When we generate the path for impl items we need to base this of the Self type but this was ignoring cases like pointers, references or slices. This meant generic slices had the same path has generic pointers etc. The only reason we didn't end up with a linker symbol clash is due to the symbol hash.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions