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

fix: In completion's expand, consider recursion stop condition (when we're not inside a macro call anymore) *after* the recursive call instead of before it #19037

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

This is because our detection is imperfect, and miss some cases such as an impersonating test macro, so we hope we'll expand successfully in this case.

Fixes #19006.

… not inside a macro call anymore) *after* the recursive call instead of before it

This is because our detection is imperfect, and miss some cases such as an impersonating `test` macro, so we hope we'll expand successfully in this case.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 26, 2025
@Veykril Veykril added this pull request to the merge queue Jan 27, 2025
Merged via the queue into rust-lang:master with commit 565087f Jan 27, 2025
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the fix-other-test branch January 27, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto complete stops completing when in a "test_log::test" test code block
3 participants