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

Move the Implementation of implitem lowering into its own file. #2821

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

nobel-sh
Copy link
Contributor

Moves the implementation of the implitem lowering from rust-ast-lower-implitem.h into the rust-ast-lower-implitem.cc.

Fixes #2818

This patch moves the implementation of the implitem lowering
from rust-ast-lower-implitem.h into the rust-ast-lower-implitem.cc
file.

gcc/rust/ChangeLog:

	* Make-lang.in: Add rust-ast-lower-implitem.cc to list of objects.
	* hir/rust-ast-lower-implitem.h (RUST_AST_LOWER_IMPLITEM_H): Remove
	implementation.
	* hir/rust-ast-lower-implitem.cc: Copy implementation from header.

Signed-off-by: Nobel Singh <[email protected]>
@braw-lee
Copy link
Contributor

this PR will create merge conflict if #2815 is also to be merged

@nobel-sh
Copy link
Contributor Author

nobel-sh commented Feb 3, 2024

this PR will create merge conflict if #2815 is also to be merged

I will just rebase it off master after 2815 has been merged

@philberty philberty self-requested a review February 3, 2024 15:47
@philberty philberty self-assigned this Feb 3, 2024
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.

LGTM thanks for doing this.

@philberty philberty added this pull request to the merge queue Feb 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 3, 2024
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.

LGTM

@philberty philberty added this pull request to the merge queue Feb 4, 2024
Merged via the queue into Rust-GCC:master with commit 5b7d674 Feb 4, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Move implementation outside of rust-ast-lower-implitem.h header
3 participants