diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-13 14:08:07 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-17 10:34:36 +0000 |
commit | 85a5abeb3748ef0fc18973e9139d9a18b7809661 (patch) | |
tree | c370bba5a875d691fd70821969c7d3627db12fd8 /gcc/rust/backend/rust-compile.cc | |
parent | 6bbf7202c6d4ab6a6b8c03e1871099af3f8e0ea5 (diff) | |
download | gcc-85a5abeb3748ef0fc18973e9139d9a18b7809661.zip gcc-85a5abeb3748ef0fc18973e9139d9a18b7809661.tar.gz gcc-85a5abeb3748ef0fc18973e9139d9a18b7809661.tar.bz2 |
gccrs: get rid of can_eq in CoerceionRules selection
The can_eq interface is very inconsistent so this begins the journey to
remove this and also address part of #1981
gcc/rust/ChangeLog:
* typecheck/rust-coercion.cc (TypeCoercionRules::select): use new unify_and interface
* typecheck/rust-hir-dot-operator.cc (MethodResolver::try_hook): grab bounds behind refs
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile.cc')
0 files changed, 0 insertions, 0 deletions