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

Let var hygiene #9026

Closed
wants to merge 72 commits into from
Closed

Conversation

jbclements
Copy link
Contributor

This is a rebase of my approved pull request from ... the end of June? It introduces hygiene for let-bound variables.

... it would also have been possible to add all of their dependencies,
but that would have increased the already-lengthy list of parameters.
Also, if we had macros that could expand into macro defns, you could
stage it. This seemed like the least painful choice.
@adrientetar
Copy link
Contributor

Could use some squashes.

See the comments for details on why I'm leaving this code
in, though commented out.
resolve must ignore syntax context when comparing module names
this is necessary so that the new idents are connected to the original strings.
this is important both for error messages, and so that top-level refs get connected
to the right things.
@jbclements
Copy link
Contributor Author

@adridu59 re: squashes: if you want to see the whole diff at once, github's interface will show you that. I've spent 40+hours rebasing and cleaning up, so my budget is a little squeezed... if there are particular sets of commits you'd like me to try to squash, though, I'd be happy to take a look at them

bors added a commit that referenced this pull request Sep 7, 2013
This is a rebase of my approved pull request from ... the end of June? It introduces hygiene for let-bound variables.
@bors bors closed this Sep 7, 2013
@huonw
Copy link
Member

huonw commented Sep 7, 2013

\o/

Finally! :)

flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2022
…Frednet

put parentheses around neg_multiply suggestion if needed

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: [`neg_multiply`]: put parentheses around suggestion if needed
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.

5 participants