Skip to content

Conversation

@edwin0cheng
Copy link
Contributor

@edwin0cheng edwin0cheng commented May 9, 2021

Fixes #8749

It is the same bug in #8560 but in our quote! macro.

Because the "\" are added exponentially in #8749 case, so the text just eat up all the memory.

bors r+

@bors
Copy link
Contributor

bors bot commented May 9, 2021

@bors bors bot merged commit b43921c into rust-lang:master May 9, 2021
@edwin0cheng edwin0cheng changed the title Escape characters in builtin macros correctly fix: Escape characters in builtin macros correctly May 9, 2021
@edwin0cheng edwin0cheng deleted the recur-eager branch May 9, 2021 12:36
@matklad
Copy link
Contributor

matklad commented May 9, 2021

Can we write a test for this?

@matklad
Copy link
Contributor

matklad commented May 9, 2021

I am blind, ther's a test for this already, sorry for the noise!

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.

Memory leak: rust-analyzer eat up 8GB of RAM too quickly

2 participants