gccrs: TyTy: Refactor FnType deprecated API
commit14025f735967c1909f2e722210f8c4e694b9ee51
authorJakub Dupak <dev@jakubdupak.com>
Thu, 14 Dec 2023 11:54:11 +0000 (14 12:54 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:51 +0000 (30 12:36 +0100)
treec016d16ba3bc9b7c1dc65f0fc9c67308264499b3
parentd8e8ad5493848a3b8f5883817770da2aba5d3edd
gccrs: TyTy: Refactor FnType deprecated API

gcc/rust/ChangeLog:

* backend/rust-compile-expr.cc (CompileExpr::visit): Use new API.
* typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): Use new API.
* typecheck/rust-tyty-cmp.h: Remove old API.
* typecheck/rust-tyty.cc (FnPtr::is_equal): Use new API.
* typecheck/rust-tyty.h: Remove old API.
* typecheck/rust-unify.cc (UnifyRules::expect_fnptr): Use new API.

Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
gcc/rust/backend/rust-compile-expr.cc
gcc/rust/typecheck/rust-tyty-call.cc
gcc/rust/typecheck/rust-tyty-cmp.h
gcc/rust/typecheck/rust-tyty.cc
gcc/rust/typecheck/rust-tyty.h
gcc/rust/typecheck/rust-unify.cc