Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TyTy: Remove deprecated FnDef API #2776

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

jdupak
Copy link
Contributor

@jdupak jdupak commented Dec 14, 2023

#2770 folowup @CohenArthur requested (needs rebase)

@jdupak jdupak changed the title 2770 followup remove depr api TyTy: Remove deprecated FnDef API Dec 14, 2023
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 <[email protected]>
@jdupak jdupak force-pushed the 2770-followup-remove-depr-api branch from 42bb1c8 to 38558d6 Compare December 19, 2023 21:50
@jdupak jdupak marked this pull request as ready for review December 19, 2023 21:50
Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks :)

@CohenArthur CohenArthur added this pull request to the merge queue Dec 27, 2023
Merged via the queue into Rust-GCC:master with commit a12143b Dec 27, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants