aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-06-10 21:07:27 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-06-11 18:13:29 +0000
commiteedab85e02b8bd5841a36c0600cf397a255a718e (patch)
treeb73972b6517e104ad6c15571500674ccc2a0edcf /gcc/rust/resolve
parentedff04f5ddcacfb3ae8a00c5eaee8459415bb1c4 (diff)
downloadgcc-eedab85e02b8bd5841a36c0600cf397a255a718e.zip
gcc-eedab85e02b8bd5841a36c0600cf397a255a718e.tar.gz
gcc-eedab85e02b8bd5841a36c0600cf397a255a718e.tar.bz2
gccrs: introduce new types_compatable
This is an initiative to begin getting rid of the can_eq interface. Addresses #2019 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckImplItemWithTrait::visit): use new interface * typecheck/rust-type-util.cc (types_compatable): implementation of new interface * typecheck/rust-type-util.h (types_compatable): prototype * typecheck/rust-unify.cc (UnifyRules::expect_placeholder): It is allow for unification against placeholders gcc/testsuite/ChangeLog: * rust/compile/traits2.rs: update error message * rust/compile/traits3.rs: update error message Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions