]> gcc.gnu.org Git - gcc.git/commit
TyTy: Refactor FnType deprecated API
authorJakub Dupak <dev@jakubdupak.com>
Thu, 14 Dec 2023 11:54:11 +0000 (12:54 +0100)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 27 Dec 2023 19:03:20 +0000 (19:03 +0000)
commita12143b962f05daac05223e40ac01e4e81143151
treedbcd80d804d4890983a11f6416cc760dc07d6ddc
parentb9fccabd7b4727afd558351f4419c33693152fc9
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
This page took 0.05881 seconds and 5 git commands to generate.