Skip to content

Fix a coroutine UI test which is missing #[coroutine]#156171

Open
teor2345 wants to merge 2 commits intorust-lang:mainfrom
teor2345:missing-coro-test
Open

Fix a coroutine UI test which is missing #[coroutine]#156171
teor2345 wants to merge 2 commits intorust-lang:mainfrom
teor2345:missing-coro-test

Conversation

@teor2345
Copy link
Copy Markdown
Contributor

@teor2345 teor2345 commented May 5, 2026

This looks like a typo, although the test now produces a different error to the other errors in the file.

I also fixed some comment typos in tests, happy to drop that commit if you don't want to review it.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 5, 2026

Some changes occurred in coverage tests.

cc @Zalathar

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 5, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 5, 2026

r? @BoxyUwU

rustbot has assigned @BoxyUwU.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 20 candidates

Comment on lines 47 to 50
@@ -50,8 +50,9 @@ fn closure_sig() -> impl Sized {
}
Copy link
Copy Markdown
Contributor Author

@teor2345 teor2345 May 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code was the same as this test, which doesn't make sense, and makes it look like a copy-paste typo.

Edit: sigh, I selected all the test code, but it looks like GitHub decided to hide the lines outside the diff.

View changes since the review

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. 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.

3 participants