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

Add test for inherent implementation of crate #2792

Closed
wants to merge 1 commit into from

Conversation

Harshit933
Copy link

If we try to provide an implementation of a struct outside of the crate where it is implemented, the compiler crashes. This commit tries to demonstrate it.

If we try to provide an implementation of a struct outside of the
crate where it is implemented, the compiler crashes. This
commit tries to demonstrate it.

gcc/testsuite/ChangeLog:
	* rust/link/crate_import_0.rs
	* rust/link/crate_import_1.rs

Signed-off-by: harshit933 <[email protected]>
@CohenArthur
Copy link
Member

thanks @Harshit933! this indeed reproduces the issue, are you interested in working on fixing it?

@Harshit933
Copy link
Author

thanks @Harshit933! this indeed reproduces the issue, are you interested in working on fixing it?

Yes I am working on it

@philberty
Copy link
Member

This PR looks abandoned please reopen in the future

@philberty philberty closed this Jan 10, 2025
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