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

Feature request: Retag statements #542

Open
giltho opened this issue Jan 31, 2025 · 2 comments
Open

Feature request: Retag statements #542

giltho opened this issue Jan 31, 2025 · 2 comments
Assignees

Comments

@giltho
Copy link

giltho commented Jan 31, 2025

Hello,
Would it be possible to emit Retag statements (possibly on demand)?
We want to run an analysis that makes use of tree borrows, and would need those in. The person in charge of this project would probably be happy to implement this feature if you give us a few pointers :)

Cheers!

@Nadrieril Nadrieril self-assigned this Jan 31, 2025
@Nadrieril
Copy link
Member

That would be great to have! This is currently blocked on us supporting a later MIR than we do. Today we use mir_built but retags are only added in mir_drops_elaborated_and_const_checked; this is tracked here.

This is already something we plan to do; I haven't estimated how hard this would be yet. I would very much welcome help here! I wrote up some instructions here. Pop on the Zulip if you want to have a go or have questions.

@giltho
Copy link
Author

giltho commented Jan 31, 2025

Our student is starting this Monday and will probably start on something slightly different, but I'll give her the various links for when she starts this project, thank you very much for the pointers!

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

No branches or pull requests

2 participants