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

libsyntax: ext cleanup #11168

Merged
merged 6 commits into from
Dec 30, 2013
Merged

libsyntax: ext cleanup #11168

merged 6 commits into from
Dec 30, 2013

Conversation

sfackler
Copy link
Member

  • Pass &ExtCtxt instead of @ExtCtxt.
  • Stop passing duplicate parameters around in expand.
  • Make ast_fold methods take &mut self.

After these, it should be possible to remove the @mut boxes from ExtCtxt altogether, though #11167 is doing some of that so I'm holding off on that for now. This will probably conflict with that PR, so I'm guessing that one will have to be rebased on top of the other.

r? @pcwalton

@alexcrichton
Copy link
Member

r from me, but pcwalton should probably take a look and figure out how to reconcile the de-@-mut-ing

@sfackler
Copy link
Member Author

I've gone ahead and removed all of the @muts from ExtCtxt except for the ParseSess.

@pcwalton
Copy link
Contributor

Don't worry about conflicting with me; I'll clean up my end. Thanks so much!

bors added a commit that referenced this pull request Dec 30, 2013
* Pass `&ExtCtxt` instead of `@ExtCtxt`.
* Stop passing duplicate parameters around in `expand`.
* Make `ast_fold` methods take `&mut self`.

After these, it should be possible to remove the `@mut` boxes from `ExtCtxt` altogether, though #11167 is doing some of that so I'm holding off on that for now. This will probably conflict with that PR, so I'm guessing that one will have to be rebased on top of the other.

r? @pcwalton
@bors bors closed this Dec 30, 2013
@bors bors merged commit dc83034 into rust-lang:master Dec 30, 2013
@sfackler sfackler deleted the de-at-extctxt branch May 15, 2014 05:03
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 31, 2023
…1995

Update bug URL to use the ice template

The previous URL linked to the blank new issue from without any template. This will now link to the ICE template :)

* Before: https://github.com/rust-lang/rust-clippy/issues/new
* After: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml

That's it, nothing too interesting besides that. For everyone reading this: here, have some free cream 🍨 🍦 and have a beautiful day. 🙃

changelog: none
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.

4 participants