]> git.ipfire.org Git - thirdparty/gcc.git/commit
Get rid of duplicate interface #3396
authorGS-GOAT <86884129+GS-GOAT@users.noreply.github.com>
Sat, 8 Feb 2025 06:33:18 +0000 (12:03 +0530)
committerGS-GOAT <86884129+GS-GOAT@users.noreply.github.com>
Sat, 8 Feb 2025 07:22:57 +0000 (12:52 +0530)
commitaf234dd6a9dcb71498d16a8fb65ad53bc5d62ef4
tree651098b20442aa6fe84b4b9f4214dcbf1ea25e03
parent7691105e19b0437c83d104f53ec34f8279b79c84
Get rid of duplicate interface #3396

gcc/rust/ChangeLog:

* typecheck/rust-autoderef.cc
(insert_implicit_type): Update single-parameter call to
pass explicit HirId.
* typecheck/rust-hir-type-check-expr.cc: Same.
* typecheck/rust-hir-type-check-pattern.cc: Same.
* typecheck/rust-hir-type-check.h: Removed call
to the duplicate interface.
* typecheck/rust-typecheck-context.cc
(TypeCheckContext::insert_implicit_type): Removed the
interface with no HirId field.

Signed-off-by: Guransh Singh <guransh766@gmail.com>
gcc/rust/typecheck/rust-autoderef.cc
gcc/rust/typecheck/rust-hir-type-check-expr.cc
gcc/rust/typecheck/rust-hir-type-check-pattern.cc
gcc/rust/typecheck/rust-hir-type-check.h
gcc/rust/typecheck/rust-typecheck-context.cc