Skip to content

Pop the expansion context after expanding a method macro #17319

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

Merged
merged 2 commits into from
Sep 20, 2014

Conversation

kmcallister
Copy link
Contributor

We were leaving these on the stack, causing spurious backtraces.

@huonw
Copy link
Member

huonw commented Sep 17, 2014

I vaguely wonder if this would be better with 'check notes' comment directive that makes the compiletest driver fully check any notes (i.e. error if any notes occur on lines without a //~ NOTE).

Keegan McAllister added 2 commits September 17, 2014 11:18
We were leaving these on the stack, causing spurious backtraces.

I've confirmed that this test fails without the fix.
@kmcallister
Copy link
Contributor Author

Rebased.

@jdm
Copy link
Contributor

jdm commented Sep 17, 2014

Does this solve #17299?

bors added a commit that referenced this pull request Sep 20, 2014
We were leaving these on the stack, causing spurious backtraces.
@bors bors closed this Sep 20, 2014
@bors bors merged commit 5b42f79 into rust-lang:master Sep 20, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 2, 2024
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