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

Remove front::wgsl::lower::ExpressionContext::reborrow. #2305

Closed
wants to merge 1 commit into from

Conversation

jimblandy
Copy link
Member

Rust's implicit reborrowing works fine.

This change would totally conflict with @teoxoy's const expression work, so we shouldn't worry about this until that's done. I just couldn't figure out what the reborrow functions were accomplishing, so I had to try it out.

Rust's implicit reborrowing works fine.
@jimblandy
Copy link
Member Author

It seems like front::wgsl::lower::GlobalContext::reborrow might be susceptible to the same treatment.

@jimblandy
Copy link
Member Author

... and RuntimeExpressionContext::reborrow

@teoxoy
Copy link
Member

teoxoy commented Oct 23, 2023

Closing, as #2572 took care of those.

@teoxoy teoxoy closed this Oct 23, 2023
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