Skip to content

Fix Error Code for Attempted to call something which isn't a function nor a method. #3496

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

Merged
merged 1 commit into from
Aug 13, 2025

Conversation

sakupan102
Copy link
Contributor

@sakupan102 sakupan102 commented Mar 11, 2025

Addresses #2434

Copy link
Member

@philberty philberty left a comment

Choose a reason for hiding this comment

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

Looks like we dont have any test cases for this then. Can you add one please

@sakupan102
Copy link
Contributor Author

@philberty
I apologize for forgetting about this PR. The merge conflicts have been resolved, so it can be merged now.

@sakupan102 sakupan102 requested a review from philberty August 11, 2025 03:33
gcc/rust/ChangeLog:

	* typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): fix error code

Signed-off-by: Ryutaro Okada <[email protected]>
@sakupan102
Copy link
Contributor Author

@philberty
This can be merged.

@P-E-P P-E-P added this pull request to the merge queue Aug 13, 2025
Merged via the queue into Rust-GCC:master with commit 37ceed5 Aug 13, 2025
13 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.

3 participants