Skip to content

coverage: Regression test for "function name is empty" bug#144616

Merged
bors merged 1 commit intorust-lang:masterfrom
Zalathar:try-in-macro
Jul 29, 2025
Merged

coverage: Regression test for "function name is empty" bug#144616
bors merged 1 commit intorust-lang:masterfrom
Zalathar:try-in-macro

Conversation

@Zalathar
Copy link
Copy Markdown
Member

@Zalathar Zalathar commented Jul 29, 2025

Regression test for #141577, which was triggered by #144298.

The bug was triggered by a particular usage of the ? try operator in a proc-macro expansion.

Thanks to lqd for the minimization at #144571 (comment).


I have manually verified that reverting the relevant follow-up fixes (#144480 and #144530) causes this test to reproduce the bug:

git revert -m1 8aa3d41b8527f9f78e0f2459b50a6e13aea35144 c462895a6f0b463ff0c1c1db2a3a654d7e5976c7

r? compiler

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants