Skip to content

Remove const from Fixture::into_content#3

Merged
Y-Nak merged 1 commit intofe-lang:mainfrom
Y-Nak:fix-const-live-drops
Jan 4, 2024
Merged

Remove const from Fixture::into_content#3
Y-Nak merged 1 commit intofe-lang:mainfrom
Y-Nak:fix-const-live-drops

Conversation

@Y-Nak
Copy link
Copy Markdown
Collaborator

@Y-Nak Y-Nak commented Jan 4, 2024

This PR just removes const from Fixture::into_content. This is necessary because of rustc's const live drop analysis is not precise enough to allow this case.
Ref

@akonradi-signal Sorry, I didn't notice this error when I merged #2.

@Y-Nak Y-Nak merged commit 5640c41 into fe-lang:main Jan 4, 2024
@Y-Nak Y-Nak deleted the fix-const-live-drops branch January 4, 2024 13:19
@akonradi-signal
Copy link
Copy Markdown
Contributor

No worries, thanks! Any chance this could be published as part of a release?

@Y-Nak
Copy link
Copy Markdown
Collaborator Author

Y-Nak commented Jan 4, 2024

I published v0.2.0. Thanks for your contribution!

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