diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-03-17 09:44:46 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-03-17 09:51:39 +0000 |
commit | 6e385d2f257c5cba10e569bd540bdfa9f91960d2 (patch) | |
tree | 21a6cb15c6e07550a3ad851f5b7aea42527a70d7 /gcc/rust/parse/rust-parse.cc | |
parent | bb234b080a5be332bbe67d9920a65959124088e7 (diff) | |
download | gcc-6e385d2f257c5cba10e569bd540bdfa9f91960d2.zip gcc-6e385d2f257c5cba10e569bd540bdfa9f91960d2.tar.gz gcc-6e385d2f257c5cba10e569bd540bdfa9f91960d2.tar.bz2 |
Fix bad copy-paste in can equal interface for pointer types
When we perform method resolution we check if the self arguments can be
matched. Here the bug was that pointer types had a bad vistitor and only
could ever match reference types which is wrong and was a copy paste error.
Fixes #1031
Diffstat (limited to 'gcc/rust/parse/rust-parse.cc')
0 files changed, 0 insertions, 0 deletions