diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-17 18:09:42 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-18 00:15:08 +0000 |
commit | 858fd17fcf9aeddd9392d480c19471aaac891e5f (patch) | |
tree | f6fa7fd73628148097a272d714db95d8b092e710 /gcc/rust/backend | |
parent | 5751556c9e6dc012ade461c04624ef9c39d1d6cf (diff) | |
download | gcc-858fd17fcf9aeddd9392d480c19471aaac891e5f.zip gcc-858fd17fcf9aeddd9392d480c19471aaac891e5f.tar.gz gcc-858fd17fcf9aeddd9392d480c19471aaac891e5f.tar.bz2 |
gccrs: Fix bad method resolution
We should use the result of our attempted unify inference as this will
allow the direct unification of generic pointer types to concrete ones.
Fixes #1981
gcc/rust/ChangeLog:
* typecheck/rust-coercion.cc (TypeCoercionRules::select): use the result
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions